matrix-docker-ansible-deploy/roles/matrix-grafana/tasks/validate_config.yml

8 lines
218 B
YAML

---
- name: Fail if Prometheus not enabled
ansible.builtin.fail:
msg: >
You need to enable `matrix_prometheus_enabled` to use Prometheus as data source for Grafana.
when: "not matrix_prometheus_enabled"