12 lines
296 B
YAML
12 lines
296 B
YAML
## 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
|