ansible-ffibk/roles/service-prometheus/handlers/main.yml

18 lines
310 B
YAML

- name: reload systemd
systemd:
daemon_reload: yes
- name: restart prometheus
service:
name: prometheus
state: restarted
- name: restart alertmanager
service:
name: alertmanager
state: restarted
- name: restart node_exporter
service:
name: node_exporter
state: restarted