Merge "Fix Grafana role support for Ansible check mode"

This commit is contained in:
Zuul
2025-01-23 18:25:52 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 1 deletions

View File

@@ -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:

View File

@@ -12,6 +12,7 @@
retries: 30
delay: 2
run_once: true
when: not ansible_check_mode
- name: Remove old grafana docker volume
become: true