From f234071bbfe047230b35f05a2790053a44722d5e Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Wed, 31 Aug 2022 16:20:55 -0500 Subject: [PATCH] grafana: restart when anything is deployed to a provisioning path --- roles/grafana/tasks/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/grafana/tasks/main.yaml b/roles/grafana/tasks/main.yaml index 0a5a9ba..10b71b1 100644 --- a/roles/grafana/tasks/main.yaml +++ b/roles/grafana/tasks/main.yaml @@ -60,6 +60,7 @@ owner: root group: "{{ grafana_group }}" mode: 0640 + notify: restart grafana - name: create dashboard directory ansible.builtin.file: @@ -76,6 +77,7 @@ owner: root group: "{{ grafana_group }}" mode: 0640 + notify: restart grafana - name: upload user dashboards ansible.builtin.copy: @@ -85,6 +87,7 @@ group: "{{ grafana_group }}" mode: 0644 loop: "{{ grafana_dashboard_files | default([]) }}" + notify: restart grafana - name: manage service ansible.builtin.service: