diff options
Diffstat (limited to 'roles/sshd/tasks/main.yml')
-rw-r--r-- | roles/sshd/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml index 66f9103..ff77c40 100644 --- a/roles/sshd/tasks/main.yml +++ b/roles/sshd/tasks/main.yml @@ -15,6 +15,7 @@ regexp: "Include /etc/ssh/sshd_config.d" line: "Include /etc/ssh/sshd_config.d/*.conf" insertbefore: BOF + notify: sshd_restart - name: "Set SSH host identity" when: sshd_host_key is defined and sshd_host_cert is defined @@ -106,3 +107,6 @@ AuthorizedKeysFile none dest: /etc/ssh/sshd_config.d/authorized_keys.conf notify: sshd_restart + +- name: "Run handlers" + meta: flush_handlers |