1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 11:56:59 +02:00
ansible-collection-prometheus/roles/prometheus_node/handlers/main.yml

19 lines
427 B
YAML
Raw Normal View History

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