grafana: restart when anything is deployed to a provisioning path
This commit is contained in:
parent
85e4fc9056
commit
f234071bbf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user