ansible-collection-prometheus/roles/alertmanager/molecule/default/converge.yml
gardar 3c9df6fae7
fix: use fcqn for role names
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:27:47 +00:00

19 lines
475 B
YAML

---
- 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