ansible-ffibk/roles/service-prometheus/handlers/main.yml
2018-09-25 10:36:23 +02:00

28 lines
476 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
- name: restart blackbox_exporter
service:
name: blackbox_exporter
state: restarted
- name: restart nginx
systemd:
name: nginx
state: restarted