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

8 lines
345 B
YAML
Raw Normal View History

2021-08-13 10:05:57 +02:00
---
- name: Fail if Synapse metrics or Prometheus Node Exporter not enabled
fail:
msg: >
You need to enable `matrix_prometheus_scraper_synapse_enabled` and/or `matrix_prometheus_scraper_node_enabled` for Prometheus grab metrics.
when: "not matrix_prometheus_scraper_synapse_enabled and not matrix_prometheus_scraper_node_enabled"