Rolle: deactivate_ssh_password_login - Validation eingebaut

This commit is contained in:
Michael Grote 2020-12-23 09:42:48 +01:00
parent 6a99fd0380
commit 7773dad943

View file

@ -6,5 +6,5 @@
regexp: '#PasswordAuthentication yes' regexp: '#PasswordAuthentication yes'
line: 'PasswordAuthentication no' line: 'PasswordAuthentication no'
state: present state: present
# backrefs: yes validate: "/usr/sbin/sshd -T"
notify: restart_sshd notify: restart_sshd