aboutsummaryrefslogtreecommitdiffstats
path: root/roles/debian/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/debian/handlers')
-rw-r--r--roles/debian/handlers/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/debian/handlers/main.yml b/roles/debian/handlers/main.yml
new file mode 100644
index 0000000..891fed9
--- /dev/null
+++ b/roles/debian/handlers/main.yml
@@ -0,0 +1,20 @@
+---
+- name: restart resolved
+ systemd:
+ name: systemd-resolved.service
+ state: restarted
+ when: not chroot
+
+- name: restart timesyncd
+ systemd:
+ name: systemd-timesyncd.service
+ state: restarted
+ when: not chroot
+
+- name: restart sshd
+ systemd:
+ name: ssh.service
+ state: restarted
+ when: not chroot
+
+# vim: set ts=2 sw=2 et: