xoxys.prometheus/molecule/rocky8/converge.yml
Robert Kaussow fab11543f0
All checks were successful
continuous-integration/drone/push Build is passing
feat: add test for Rocky Linux 8 (#1)
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
2022-01-26 21:00:24 +01:00

29 lines
652 B
YAML

---
- name: Converge
hosts: all
vars:
prometheus_config_flags_extra:
- name: alertmanager.timeout
value: 10s
prometheus_alertmanager_config:
- scheme: https
path_prefix: alertmanager/
basic_auth:
username: user
password: pass
static_configs:
- targets:
- "127.0.0.1:9093"
prometheus_alert_relabel_configs:
- action: labeldrop
regex: replica
prometheus_targets:
- name: node
config:
- targets:
- localhost:9100
labels:
env: test
roles:
- role: xoxys.prometheus