ansible-roles/library/roles/prometheus-node-exporter/handlers/main.yml

8 lines
142 B
YAML

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