---

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