Merge "Fix Grafana role support for Ansible check mode"
This commit is contained in:
@@ -100,7 +100,9 @@
|
|||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
path: "{{ node_config_directory }}/grafana/dashboards/"
|
path: "{{ node_config_directory }}/grafana/dashboards/"
|
||||||
when: service | service_enabled_and_mapped_to_host
|
when:
|
||||||
|
- not ansible_check_mode
|
||||||
|
- service | service_enabled_and_mapped_to_host
|
||||||
|
|
||||||
- name: Copying over custom dashboards
|
- name: Copying over custom dashboards
|
||||||
vars:
|
vars:
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
retries: 30
|
retries: 30
|
||||||
delay: 2
|
delay: 2
|
||||||
run_once: true
|
run_once: true
|
||||||
|
when: not ansible_check_mode
|
||||||
|
|
||||||
- name: Remove old grafana docker volume
|
- name: Remove old grafana docker volume
|
||||||
become: true
|
become: true
|
||||||
|
Reference in New Issue
Block a user