mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 20:03:04 +00:00
9503b96854
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>
10 lines
228 B
YAML
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
|