Do not fail on unrelated validation tasks when Grafana not enabled

This commit is contained in:
Slavi Pantaleev 2021-02-12 15:45:19 +02:00
parent 66d5b0e5b9
commit 8434af10de

View file

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