src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/server/handlers/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-02-10 09:02:51 -0600
committerLuke Hoersten <[email protected]>2020-02-10 09:02:51 -0600
commit4626821faac754e918836774280fa5c69d10447f (patch)
treee260bd03caedf12e7a8dc4755ee458861aed6c82 /prometheus/server/handlers/main.yaml
parent75582f51a529a937f0d45b3a0520834e83c5fa88 (diff)
Added grafana restart handler.
Diffstat (limited to 'prometheus/server/handlers/main.yaml')
-rw-r--r--prometheus/server/handlers/main.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/prometheus/server/handlers/main.yaml b/prometheus/server/handlers/main.yaml
index 223e1b0..248df86 100644
--- a/prometheus/server/handlers/main.yaml
+++ b/prometheus/server/handlers/main.yaml
@@ -3,3 +3,7 @@
- name: restart prometheus service
systemd: name="prometheus.service" state="restarted" daemon_reload="yes"
become: yes
+
+- name: restart grafana service
+ systemd: name="grafana-server.service" state="restarted" daemon_reload="yes"
+ become: yes