1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-11-22 09:41:01 +01:00
ansible-collection-prometheus/roles/prometheus_node/handlers/main.yml

19 lines
363 B
YAML
Raw Permalink Normal View History

2020-11-13 10:36:46 +01:00
---
- name: ucr commit
command: /usr/sbin/ucr commit
- name: systemctl daemon-reload
systemd:
daemon_reload: yes
- name: restart prometheus-zpool-collector
systemd:
name: prometheus-node-exporter-zpool.timer
state: restarted
- name: restart prometheus-node-exporter
systemd:
name: prometheus-node-exporter.service
state: restarted