From d7913fd55bf95ce86b940f3c96854bdcb7f394a4 Mon Sep 17 00:00:00 2001 From: therojam Date: Sat, 1 May 2021 22:33:33 +0200 Subject: [PATCH] corrected parameter for replace-module from regex 2 regexp --- tasks/admin_users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/admin_users.yml b/tasks/admin_users.yml index 8a7c625..1bdefb1 100644 --- a/tasks/admin_users.yml +++ b/tasks/admin_users.yml @@ -9,5 +9,5 @@ - name: Disable Password Authentication for ssh.usage ansible.builtin.replace: path: /etc/ssh/sshd_config - regex: PasswordAuthentication + regexp: PasswordAuthentication replace: 'PasswordAuthentication no\1'