infra/roles/proxmox/handlers/main.yml

29 lines
418 B
YAML

---
- name: update grub
command: update-grub
- name: restart pve all
service:
name: "{{ item }}"
state: restarted
with_items:
- pve-cluster
- pvedaemon
- pveproxy
- pvestatd
- corosync
- name: restart pveproxy
service:
name: "{{ item }}"
state: restarted
with_items:
- pveproxy
- spiceproxy
- name: reload nginx
service:
name: nginx
state: reloaded