Replace matrix-prometheus with an external Prometheus role

This commit is contained in:
Slavi Pantaleev
2023-03-21 07:38:12 +02:00
parent d351213486
commit 14b8efcad2
19 changed files with 313 additions and 366 deletions

View File

@ -3,9 +3,9 @@
- name: Fail if Prometheus not enabled
ansible.builtin.fail:
msg: >
You need to set `matrix_prometheus_enabled: true` or configure an external Prometheus database
You need to set `prometheus_enabled: true` or configure an external Prometheus database
as this roles requires Prometheus for data storage.
when: not matrix_prometheus_enabled and not matrix_prometheus_nginxlog_exporter_metrics_proxying_enabled
when: not prometheus_enabled and not matrix_prometheus_nginxlog_exporter_metrics_proxying_enabled
- name: Fail if docker image not availble for arch
ansible.builtin.fail: