diff --git a/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml b/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml index 2558cd8d..d33c2416 100644 --- a/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml +++ b/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml @@ -6,5 +6,5 @@ regexp: '#PasswordAuthentication yes' line: 'PasswordAuthentication no' state: present -# backrefs: yes + validate: "/usr/sbin/sshd -T" notify: restart_sshd