이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
overmind
/
matrix-docker-ansible-deploy
의 미러
https://github.com/spantaleev/matrix-docker-ansible-deploy
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
0
위키
활동
소스 검색
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
- always
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: run_setup|bool
when:
"
run_setup|bool
and matrix_prometheus_enabled|bool"
tags:
tags:
- setup-all
- setup-all
- setup-prometheus
- setup-prometheus
쓰기
미리보기
불러오는 중...
취소
저장