Do not require Prometheus in matrix-prometheus-nginxlog-exporter

The user may be running Prometheus elsewhere. It doesn't need to be
getting installed using the current playbook.
This commit is contained in:
Slavi Pantaleev 2024-01-13 15:56:49 +02:00
parent 21d412f90b
commit 313ecd8f8d

View File

@ -1,12 +1,5 @@
---
- name: Fail if Prometheus not enabled
ansible.builtin.fail:
msg: >
You need to set `prometheus_enabled: true` or configure an external Prometheus database
as this roles requires Prometheus for data storage.
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:
msg: >