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

11 lines
260 B
YAML
Raw Normal View History

2021-09-06 00:24:56 +02:00
---
- name: Restart prometheus-node-exporter
systemd:
name: prometheus-node-exporter
state: restarted
2021-10-08 22:20:08 +02:00
- name: Restart appointed_prometheus_server
systemd:
name: prometheus
state: restarted
delegate_to: "{{ appointed_prometheus_server }}"