ansible-collection-prometheus/roles/smartctl_exporter/handlers/main.yml
Nikolay Asenov 9503b96854
feat: add smartctl_exporter role (#229)
Signed-off-by: Nikolay Asenov <asenov.nikolay98@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-10-27 22:28:44 +02:00

10 lines
228 B
YAML

---
- name: Restart smartctl_exporter
listen: "restart smartctl_exporter"
become: true
ansible.builtin.systemd:
daemon_reload: true
name: smartctl_exporter
state: restarted
when:
- not ansible_check_mode