summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/monitoring/prometheus/exporter/chrony/handlers/main.yml')
-rw-r--r--roles/monitoring/prometheus/exporter/chrony/handlers/main.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml b/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml
new file mode 100644
index 00000000..0c940ca9
--- /dev/null
+++ b/roles/monitoring/prometheus/exporter/chrony/handlers/main.yml
@@ -0,0 +1,15 @@
+---
+- name: restart prometheus-chrony-exporter
+ service:
+ name: prometheus-chrony-exporter
+ state: restarted
+
+- name: reload nginx
+ service:
+ name: nginx
+ state: reloaded
+
+### TODO: remove this once all hosts have been migrated
+- name: reload systemd
+ systemd:
+ daemon_reload: yes