1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 11:56:59 +02:00
ansible-collection-prometheus/roles/prometheus/handlers/main.yml

16 lines
314 B
YAML
Raw Permalink Normal View History

2020-11-13 10:36:46 +01:00
---
2021-11-06 05:22:17 +01:00
- name: systemctl daemon-reload
ansible.builtin.systemd:
2021-11-06 05:22:17 +01:00
daemon_reload: yes
- name: restart prometheus
ansible.builtin.service:
2020-11-13 10:36:46 +01:00
name: prometheus.service
state: restarted
- name: restart blackbox exporter
2021-11-06 05:22:17 +01:00
ansible.builtin.service:
name: prometheus-blackbox-exporter
2020-11-13 10:36:46 +01:00
state: restarted