mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 20:03:04 +00:00
2c075e3b15
Signed-off-by: gardar <gardar@users.noreply.github.com>
10 lines
216 B
YAML
10 lines
216 B
YAML
---
|
|
- name: Restart node_exporter
|
|
listen: "restart node_exporter"
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
name: node_exporter
|
|
state: restarted
|
|
when:
|
|
- not ansible_check_mode
|