ansible/roles/prometheus_node/handlers/main.yml

10 lines
186 B
YAML

---
- name: Run daemon-reload
systemd:
daemon_reload: true
- name: Restart prometheus-node-exporter
systemd:
name: prometheus-node-exporter.service
state: restarted
...