added condition for usage of now nopassword
This commit is contained in:
parent
d7913fd55b
commit
952ed25a00
1 changed files with 1 additions and 0 deletions
|
@ -11,3 +11,4 @@
|
||||||
path: /etc/ssh/sshd_config
|
path: /etc/ssh/sshd_config
|
||||||
regexp: PasswordAuthentication
|
regexp: PasswordAuthentication
|
||||||
replace: 'PasswordAuthentication no\1'
|
replace: 'PasswordAuthentication no\1'
|
||||||
|
when: yunohost.nopassword == true
|
||||||
|
|
Loading…
Reference in a new issue