vmware_guest_snapshot module is not able to find VM

38 views
Skip to first unread message

Vijay Misra

unread,
Jul 24, 2017, 6:40:53 PM7/24/17
to Ansible Project
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": "admini...@vsphere.local", 
            "uuid": null, 
            "validate_certs": false
        }
    }, 
    "item": "snap-1", 
    "msg": "Unable to manage snapshots for non-existing VM myvgpu_clone2"

}




James Tanner

unread,
Jul 25, 2017, 7:20:33 AM7/25/17
to Ansible Project
Please test latest devel code on github.com/ansible/ansible and file a bug if it doesn't work.
Reply all
Reply to author
Forward
0 new messages