src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/rpi-client/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'prometheus/rpi-client/handlers')
-rw-r--r--prometheus/rpi-client/handlers/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/prometheus/rpi-client/handlers/main.yaml b/prometheus/rpi-client/handlers/main.yaml
new file mode 100644
index 0000000..7740ce7
--- /dev/null
+++ b/prometheus/rpi-client/handlers/main.yaml
@@ -0,0 +1,5 @@
+---
+
+- name: restart rpi_exporter
+ systemd: name="rpi_exporter.service" state="restarted" daemon_reload="yes"
+ become: yes