---

- 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"
