ansible-collection-prometheus/roles/alertmanager/molecule/default/converge.yml

20 lines
475 B
YAML
Raw Normal View History

---
- name: Converge
hosts: all
any_errors_fatal: true
roles:
- prometheus.prometheus.alertmanager
vars:
alertmanager_slack_api_url: "http://example.com"
alertmanager_receivers:
- name: slack
slack_configs:
- send_resolved: true
channel: '#alerts'
alertmanager_route:
group_by: ['alertname', 'cluster', 'service']
group_wait: 30s
group_interval: 5m
repeat_interval: 3h
receiver: slack