Преглед изворни кода

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.
pull/3093/head
Slavi Pantaleev пре 2 година
родитељ
комит
313ecd8f8d
1 измењених фајлова са 0 додато и 7 уклоњено
  1. +0
    -7
      roles/custom/matrix-prometheus-nginxlog-exporter/tasks/validate_config.yml

+ 0
- 7
roles/custom/matrix-prometheus-nginxlog-exporter/tasks/validate_config.yml Прегледај датотеку

@@ -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: >


Loading…
Откажи
Сачувај