This refactoring includes updating the README, changing the role name to focus on Proxmox VE, enhancing compatibility matrix, and refactoring default values for role variables. Handlers are updated to manage apt cache, restart pveproxy, and reload systemd. Role metadata is also updated for better Proxmox VE provisioning.
16 lines
280 B
YAML
16 lines
280 B
YAML
---
|
|
# ansible_role_proxmox_provision/handlers/main.yml
|
|
# Handlers for role
|
|
# ==================
|
|
- name: apt update
|
|
apt:
|
|
update_cache: yes
|
|
|
|
- name: restart pveproxy
|
|
systemd:
|
|
name: pveproxy
|
|
state: restarted
|
|
|
|
- name: reload systemd
|
|
command: systemctl daemon-reexec
|