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'