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 10:39:33 +01:00
|
|
|
ansible.builtin.service:
|
2020-11-13 10:36:46 +01:00
|
|
|
name: prometheus-node-exporter-zpool.timer
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: restart prometheus-node-exporter
|
2021-11-03 10:39:33 +01:00
|
|
|
ansible.builtin.service:
|
|
|
|
name: "{{ prometheus_node_service }}"
|
2020-11-13 10:36:46 +01:00
|
|
|
state: restarted
|