I have used vmware_guest_snapshot module but it’s not able to find the VM. even though if i include “folder:” with full path of the VM folder it is still not able to discover the VM.
If somebody has observed the same and have some solution. then please help.
failed: [10.161.x.x → localhost] (item=snap-1) => {
“failed”: true,
“invocation”: {
“module_args”: {
“datacenter”: “Datacenter”,
“description”: “”,
“folder”: “/vm”,
“hostname”: “10.161.x.x”,
“name”: “myvgpu_clone2”,
“name_match”: “first”,
“password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”,
“snapshot_name”: “snap-1”,
“state”: “revert”,
“username”: “administrator@vsphere.local”,
“uuid”: null,
“validate_certs”: false
}
},
“item”: “snap-1”,
“msg”: “Unable to manage snapshots for non-existing VM myvgpu_clone2”
}