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
|
owner: root
|
||||||
group: "{{ grafana_group }}"
|
group: "{{ grafana_group }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
notify: restart grafana
|
||||||
|
|
||||||
- name: create dashboard directory
|
- name: create dashboard directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
@ -76,6 +77,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: "{{ grafana_group }}"
|
group: "{{ grafana_group }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
notify: restart grafana
|
||||||
|
|
||||||
- name: upload user dashboards
|
- name: upload user dashboards
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
@ -85,6 +87,7 @@
|
|||||||
group: "{{ grafana_group }}"
|
group: "{{ grafana_group }}"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
loop: "{{ grafana_dashboard_files | default([]) }}"
|
loop: "{{ grafana_dashboard_files | default([]) }}"
|
||||||
|
notify: restart grafana
|
||||||
|
|
||||||
- name: manage service
|
- name: manage service
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
Loading…
Reference in New Issue
Block a user