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