ansible-collection-prometheus/roles/blackbox_exporter/handlers/main.yml
Ben Kochie 0907b14def
fix: Make binary installs consistent (#204)
Update the blackbox_exporter and snmp_exporter installs to be consistent
with other exporter package installs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-25 16:35:24 +02:00

15 lines
352 B
YAML

---
- name: Restart blackbox_exporter
listen: "restart blackbox_exporter"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: blackbox_exporter
state: restarted
- name: Reload blackbox_exporter
listen: "reload blackbox_exporter"
become: true
ansible.builtin.systemd:
name: blackbox_exporter
state: reloaded