From 84f439aa761c8bf6ddb22b6dfb947501681824f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Wed, 25 Sep 2019 08:52:56 +0200 Subject: [PATCH] Fix deployment of Grafana MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ansible/roles/grafana/tasks/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/roles/grafana/tasks/config.yml b/ansible/roles/grafana/tasks/config.yml index d2a27751a4..eb30f3746a 100644 --- a/ansible/roles/grafana/tasks/config.yml +++ b/ansible/roles/grafana/tasks/config.yml @@ -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