From 952ed25a0025a54bc986ab3d06647f8da7968123 Mon Sep 17 00:00:00 2001 From: therojam Date: Sat, 1 May 2021 22:54:57 +0200 Subject: [PATCH] added condition for usage of now nopassword --- tasks/admin_users.yml | 1 + 1 file changed, 1 insertion(+) 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