ansible/roles/node_exporter/handlers/main.yml

7 lines
139 B
YAML

---
- name: Restart node_exporter
service: name=node_exporter state=restarted
- name: Reload systemd
command: systemctl daemon-reload