12 lines
296 B
YAML
Raw Permalink Normal View History

2025-01-09 21:06:28 +01:00
## Restart Prometheus on changes
- name: restart prometheus
ansible.builtin.service:
name: '{{ prometheus_service }}'
state: restarted
## Restart Alertmanger on changes
- name: restart alertmanager
ansible.builtin.service:
name: '{{ alertmanager_service }}'
state: restarted