Rolle: deactivate_ssh_password_login - Validation eingebaut
This commit is contained in:
parent
6a99fd0380
commit
7773dad943
1 changed files with 1 additions and 1 deletions
|
@ -6,5 +6,5 @@
|
|||
regexp: '#PasswordAuthentication yes'
|
||||
line: 'PasswordAuthentication no'
|
||||
state: present
|
||||
# backrefs: yes
|
||||
validate: "/usr/sbin/sshd -T"
|
||||
notify: restart_sshd
|
||||
|
|
Loading…
Reference in a new issue