summaryrefslogtreecommitdiff
path: root/roles/core/ntp/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core/ntp/handlers/main.yml')
-rw-r--r--roles/core/ntp/handlers/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/core/ntp/handlers/main.yml b/roles/core/ntp/handlers/main.yml
new file mode 100644
index 00000000..fa1274e8
--- /dev/null
+++ b/roles/core/ntp/handlers/main.yml
@@ -0,0 +1,20 @@
+---
+- name: restart chrony
+ service:
+ name: chrony
+ state: restarted
+
+- name: restart systemd-timesyncd
+ service:
+ name: systemd-timesyncd
+ state: restarted
+
+- name: restart openntpd
+ service:
+ name: openntpd
+ state: restarted
+
+- name: restart ntpd
+ service:
+ name: ntpd
+ state: restarted