Do not fail on unrelated validation tasks when Grafana not enabled

master
Slavi Pantaleev 3 years ago
parent 66d5b0e5b9
commit 8434af10de

@ -3,7 +3,7 @@
- always
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: run_setup|bool
when: "run_setup|bool and matrix_grafana_enabled|bool"
tags:
- setup-all
- setup-grafana

Loading…
Cancel
Save