summaryrefslogtreecommitdiff
path: root/roles/sshd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/sshd/tasks/main.yml')
-rw-r--r--roles/sshd/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/sshd/tasks/main.yml b/roles/sshd/tasks/main.yml
index 66f9103..1094e3c 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