瀏覽代碼

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…
取消
儲存