From 522c372e493c5e95fe8d7f00ef12e92d5086b95b Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Thu, 15 Apr 2021 16:28:28 +0200 Subject: [PATCH] reload ssh --- roles/ssh_totp/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ssh_totp/tasks/main.yml b/roles/ssh_totp/tasks/main.yml index 6ba6cdb..e96b7ee 100644 --- a/roles/ssh_totp/tasks/main.yml +++ b/roles/ssh_totp/tasks/main.yml @@ -14,12 +14,14 @@ dependencies: path: /etc/ssh/sshd_config regexp: '^#?ChallengeResponseAuthentication' line: 'ChallengeResponseAuthentication yes' + notify: Reload sshd - name: Set UsePAM in sshd conf lineinfile: path: /etc/ssh/sshd_config regexp: '^#?UsePAM' line: 'UsePAM yes' + notify: Reload sshd