observability/roles/alertmanager/handlers/main.yml

9 lines
197 B
YAML

---
- name: Ensure alertmanager is restarted
community.docker.docker_container:
name: "{{ alertmanager_container_name }}"
state: started
restart: true
listen: restart-alertmanager