diff --git a/tasks/admin_users.yml b/tasks/admin_users.yml index 1bdefb1..2a510ba 100644 --- a/tasks/admin_users.yml +++ b/tasks/admin_users.yml @@ -11,3 +11,4 @@ path: /etc/ssh/sshd_config regexp: PasswordAuthentication replace: 'PasswordAuthentication no\1' + when: yunohost.nopassword == true