aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/prometheus-node-exporter/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/prometheus-node-exporter/handlers')
-rw-r--r--ansible/roles/prometheus-node-exporter/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/prometheus-node-exporter/handlers/main.yml b/ansible/roles/prometheus-node-exporter/handlers/main.yml
new file mode 100644
index 0000000..f4f9381
--- /dev/null
+++ b/ansible/roles/prometheus-node-exporter/handlers/main.yml
@@ -0,0 +1,5 @@
+- name: restart
+ become: yes
+ systemd:
+ name: prometheus-bird-exporter
+ state: restarted