2021-01-29 09:10:49 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Fail if Prometheus not enabled
|
2022-07-18 09:39:08 +02:00
|
|
|
ansible.builtin.fail:
|
2021-01-29 09:10:49 +01:00
|
|
|
msg: >
|
|
|
|
You need to enable `matrix_prometheus_enabled` to use Prometheus as data source for Grafana.
|
|
|
|
when: "not matrix_prometheus_enabled"
|
2022-09-26 07:46:10 +02:00
|
|
|
|
|
|
|
- name: (Deprecation) Catch and report renamed settings
|
|
|
|
ansible.builtin.fail:
|
|
|
|
msg: >-
|
|
|
|
Your configuration contains a variable, which now has a different name.
|
|
|
|
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
|
|
|
|
when: "item.old in vars"
|
|
|
|
with_items:
|
|
|
|
- {'old': 'matrix_grafana_dashboard_download_urls_all', 'new': 'matrix_grafana_dashboard_download_urls'}
|