You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
641 B
17 lines
641 B
4 years ago
|
---
|
||
|
|
||
|
- name: Fail if Prometheus not enabled
|
||
2 years ago
|
ansible.builtin.fail:
|
||
4 years ago
|
msg: >
|
||
|
You need to enable `matrix_prometheus_enabled` to use Prometheus as data source for Grafana.
|
||
|
when: "not matrix_prometheus_enabled"
|
||
2 years ago
|
|
||
|
- 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'}
|