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: Radosław Piliszek <radoslaw.piliszek@gmail.com>
This commit is contained in:
parent
1982c9809f
commit
84f439aa76
@ -60,7 +60,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- "{{ check_extra_conf_grafana.files }}"
|
- "{{ check_extra_conf_grafana.files }}"
|
||||||
notify:
|
notify:
|
||||||
- Restart {{ item.key }} container
|
- Restart grafana container
|
||||||
|
|
||||||
- name: Check if custom grafana home dashboard exists
|
- name: Check if custom grafana home dashboard exists
|
||||||
local_action: "stat path={{ node_custom_config }}/grafana/grafana_home_dashboard.json"
|
local_action: "stat path={{ node_custom_config }}/grafana/grafana_home_dashboard.json"
|
||||||
@ -74,7 +74,7 @@
|
|||||||
mode: "0660"
|
mode: "0660"
|
||||||
when: grafana_custom_dashboard_file.stat.exists
|
when: grafana_custom_dashboard_file.stat.exists
|
||||||
notify:
|
notify:
|
||||||
- Restart {{ item.key }} container
|
- Restart grafana container
|
||||||
|
|
||||||
- name: Configuring Prometheus as data source for Grafana
|
- name: Configuring Prometheus as data source for Grafana
|
||||||
vars:
|
vars:
|
||||||
@ -93,7 +93,7 @@
|
|||||||
- "{{ node_custom_config }}/grafana/prometheus.yaml"
|
- "{{ node_custom_config }}/grafana/prometheus.yaml"
|
||||||
- "prometheus.yaml.j2"
|
- "prometheus.yaml.j2"
|
||||||
notify:
|
notify:
|
||||||
- Restart {{ item.key }} container
|
- Restart grafana container
|
||||||
|
|
||||||
- name: Check grafana containers
|
- name: Check grafana containers
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user