generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
enhancementNew feature or requestNew feature or request
Description
SUMMARY
Add functionality to the proxmox_snap module to allow users to list all snapshots for gven VM or container. This information can then be used by a user to delete specific snapshots using the state: absent calls.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
proxmox_snap
ADDITIONAL INFORMATION
Currently, the proxmox_snap module supports creating, removing, and rolling back snapshots, but it does not provide a built-in way to list existing snapshots. Adding list_snapshots: true allows a task to return all snapshots for a VM or container in a structured format. This list can then be used to remove multiple specific snapshots for a VM or container.
Example usage:
- name: List all snapshots for container or VM
community.proxmox.proxmox_snap:
api_user: root@pam
api_password: password123
api_host: node1
vmid: 100
list_snapshots: trueMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request