--- # ============================================================================= # hypervisor_backup_config.yml # ============================================================================= # Backs up hypervisor node configs to one or more destinations. # Runs against all nodes in proxmox_cluster or xcpng_pool groups. # # Destinations configured via pve_config_backup_destinations in # hypervisor_hosts.yml or group_vars. # # Usage: # ansible-playbook playbooks/hypervisor_backup_config.yml \ # -i inventories/client_local_eng/hypervisor_hosts.yml # # Override destination on the fly: # ansible-playbook playbooks/hypervisor_backup_config.yml \ # -i inventories/client_local_eng/hypervisor_hosts.yml \ # -e '{"pve_config_backup_destinations":[{"type":"local"}]}' # ============================================================================= - name: Backup hypervisor node configs hosts: proxmox_cluster:xcpng_pool gather_facts: true serial: 1 roles: - hypervisor_backup_config