aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/sshd/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/sshd/handlers/main.yml')
-rw-r--r--roles/sshd/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/sshd/handlers/main.yml b/roles/sshd/handlers/main.yml
new file mode 100644
index 0000000..09355a9
--- /dev/null
+++ b/roles/sshd/handlers/main.yml
@@ -0,0 +1,6 @@
+- name: Restart sshd
+ become: true
+ ansible.builtin.systemd_service:
+ name: sshd
+ state: restarted
+ listen: sshd_restart