# vmware\_guest\_snapshot module is not able to find VM

**URL:** <https://forum.ansible.com/t/vmware-guest-snapshot-module-is-not-able-to-find-vm/25075>\
**Category:** Ansible Project\
**Created:** [July 24, 2017, 10:40pm UTC](https://forum.ansible.com/t/vmware-guest-snapshot-module-is-not-able-to-find-vm/25075 "2017-07-24T22:40:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@Victor1](https://forum.ansible.com/u/Victor1)\
**Post date:** [July 24, 2017, 10:40pm UTC](https://forum.ansible.com/t/vmware-guest-snapshot-module-is-not-able-to-find-vm/25075/1 "2017-07-24T22:40:53Z")

</div>

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”

}

---

<div class="post-metadata">

**Author:** ![James\_Tanner](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@James\_Tanner](https://forum.ansible.com/u/James_Tanner)\
**Post date:** [July 25, 2017, 11:20am UTC](https://forum.ansible.com/t/vmware-guest-snapshot-module-is-not-able-to-find-vm/25075/2 "2017-07-25T11:20:32Z")

</div>

Please test latest devel code on [github.com/ansible/ansible](http://github.com/ansible/ansible) and file a bug if it doesn’t work.
