-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem using snapshot_id while using module vmware_guest_snapshot #2236
Comments
The reason for me to try and use snapshot_id is because when snapshot_name is like this 'VM Snapshot 05/11/2024, 14:20:05' and when I try to delete it I get the error '"msg": "Couldn't find any snapshots with specified name: VM Snapshot 05/11/2024, 14:20:05 on VM: <vm_name>". Also this name is fetched dynamically inside the play and the json result is as below "guest_snapshots": { But I've tried to delete the snapshot by hard coding the snapshot name by copy pasting directly from vCenter to the task but still I've the same error. So I'd need to have a fix to have to delete snapshot when name is like this or using snapshot_id |
Hi @Rakesh2904 I noticed that your Ansible version is outdated. ansible-playbook -i INVENTORY PLAYBOOK -vvv This will help me confirm whether the path to the module being called by Ansible is correct. |
Hello @sky-joker Below are the details ansible-playbook 2.9.27 { |
SUMMARY
While using snapshot_id to delete the snapshot using module vmware_guest_snapshot , I get the below error
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: