add proxmox snapshot

This commit is contained in:
2026-02-19 13:12:36 +01:00
parent 82140478db
commit 7093863b87

14
proxmox_snapshot.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- name: Proxmox Snapshot
hosts: all
tasks:
- name: Create / Remove snapshot
community.proxmox.proxmox_snap:
api_user: {{ api_user }}
api_password: {{ api_password }}
api_host: {{ api_host }}
vmid: {{ vmid }}
state: {{ snap_state }}
snapname: {{ snap_name }}