Bugfix: validate ssh conf, missing parameter
This commit is contained in:
parent
8f26e89a81
commit
cb12008060
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue