Files
operating-automation/playbooks/cleanups/clean-pve-snapshots.yml
2026-02-20 13:56:27 +01:00

16 lines
454 B
YAML

- hosts: all
user: tincadmin
gather_facts: false
become: true
vars_files:
# Load vault file for sensitive data like Proxmox API tokens
- ../../vault.yml
tasks:
- name: Include Proxmox Info task
ansible.builtin.include_role:
name: proxmox-automation
tasks_from: get-vmid
- name: Clean Proxmox VE Snapshots
ansible.builtin.include_role:
name: proxmox-automation
tasks_from: delete-snapshots