Bugfix: validate ssh conf, missing parameter

This commit is contained in:
Michael Grote 2020-12-25 20:56:42 +01:00
parent 8f26e89a81
commit cb12008060

View file

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