From cb1200806029cdfd34a158fb6fe37ab1cc1cf25c Mon Sep 17 00:00:00 2001 From: Michael Grote <38253905+quotengrote@users.noreply.github.com> Date: Fri, 25 Dec 2020 20:56:42 +0100 Subject: [PATCH] Bugfix: validate ssh conf, missing parameter --- roles/mgrote.deactivate_ssh_password_login/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml b/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml index d33c2416..8c7a0e9a 100644 --- a/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml +++ b/roles/mgrote.deactivate_ssh_password_login/tasks/main.yml @@ -6,5 +6,5 @@ regexp: '#PasswordAuthentication yes' line: 'PasswordAuthentication no' state: present - validate: "/usr/sbin/sshd -T" + validate: "/usr/sbin/sshd -T -f %s" notify: restart_sshd