ansible/roles/node_exporter/handlers/main.yml

8 lines
140 B
YAML

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