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

24 lines
381 B
YAML
Raw 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 nginx
systemd:
name: nginx
state: restarted