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

29 lines
476 B
YAML
Raw Permalink Normal View History

- name: reload systemd
systemd:
daemon_reload: yes
- name: restart prometheus
2017-12-05 05:58:34 +01:00
service:
name: prometheus
state: restarted
2017-12-05 05:58:34 +01:00
- name: restart alertmanager
2017-12-05 05:58:34 +01:00
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