Skip to content
Snippets Groups Projects
Commit 84f439aa authored by Radosław Piliszek's avatar Radosław Piliszek
Browse files

Fix deployment of Grafana


Some tasks were improperly generalized in change:
I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd
(simplify handlers)
This patch reverts that.

Change-Id: I38fbe319da50fc7d5a3fa3c4890f039ae900a60c
Closes-bug: #1845258
Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
parent 1982c980
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@
with_items:
- "{{ check_extra_conf_grafana.files }}"
notify:
- Restart {{ item.key }} container
- Restart grafana container
- name: Check if custom grafana home dashboard exists
local_action: "stat path={{ node_custom_config }}/grafana/grafana_home_dashboard.json"
......@@ -74,7 +74,7 @@
mode: "0660"
when: grafana_custom_dashboard_file.stat.exists
notify:
- Restart {{ item.key }} container
- Restart grafana container
- name: Configuring Prometheus as data source for Grafana
vars:
......@@ -93,7 +93,7 @@
- "{{ node_custom_config }}/grafana/prometheus.yaml"
- "prometheus.yaml.j2"
notify:
- Restart {{ item.key }} container
- Restart grafana container
- name: Check grafana containers
become: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment