This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
overmind
/
matrix-docker-ansible-deploy
огледало од
https://github.com/spantaleev/matrix-docker-ansible-deploy
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
Do not fail on unrelated validation tasks when Prometheus not enabled
These validation tasks should only run when Prometheus is enabled.
pull/876/head
Slavi Pantaleev
пре 5 година
родитељ
87ce12c3eb
комит
66d5b0e5b9
2 измењених фајлова
са
1 додато
и
8 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-7
roles/matrix-prometheus-node-exporter/tasks/validate_config.yml
+1
-1
roles/matrix-prometheus/tasks/main.yml
+ 0
- 7
roles/matrix-prometheus-node-exporter/tasks/validate_config.yml
Прегледај датотеку
@@ -1,7 +0,0 @@
---
- name: Fail if Synapse metrics or Prometheus Node Exporter not enabled
fail:
msg: >
You need to enable `matrix_synapse_metrics_enabled` and/or `matrix_prometheus_node_exporter_enabled` for Prometheus grab metrics.
when: "not matrix_synapse_metrics_enabled and not matrix_prometheus_node_exporter_enabled"
+ 1
- 1
roles/matrix-prometheus/tasks/main.yml
Прегледај датотеку
@@ -3,7 +3,7 @@
- always
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: run_setup|bool
when:
"
run_setup|bool
and matrix_prometheus_enabled|bool"
tags:
- setup-all
- setup-prometheus
Write
Preview
Loading…
Откажи
Сачувај