src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/server/tasks
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/tasks
parent75582f51a529a937f0d45b3a0520834e83c5fa88 (diff)
Added grafana restart handler.
Diffstat (limited to 'prometheus/server/tasks')
-rw-r--r--prometheus/server/tasks/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/prometheus/server/tasks/main.yaml b/prometheus/server/tasks/main.yaml
index 8235c9b..b6745be 100644
--- a/prometheus/server/tasks/main.yaml
+++ b/prometheus/server/tasks/main.yaml
@@ -17,6 +17,8 @@
template:
src: "{{prometheus_server_conf}}"
dest: "/etc/prometheus/prometheus.yml"
- notify: restart prometheus service
+ notify:
+ - restart prometheus service
+ - restart grafana service
# /etc/grafana/grafana.ini