Merge "Fix Grafana role support for Ansible check mode"
This commit is contained in:
@@ -100,7 +100,9 @@
|
||||
file:
|
||||
state: absent
|
||||
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
|
||||
vars:
|
||||
|
@@ -12,6 +12,7 @@
|
||||
retries: 30
|
||||
delay: 2
|
||||
run_once: true
|
||||
when: not ansible_check_mode
|
||||
|
||||
- name: Remove old grafana docker volume
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user