xoxys.pve/handlers/main.yml

20 lines
325 B
YAML

---
- name: Restart pveproxy
service:
state: restarted
name: pveproxy
listen:
- __pveproxy_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen:
- __nginx_reload
delegate_to: "{{ pve_nginx_server }}"
become: True
become_user: root