diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py index fdd4287c4da..a269012aaf2 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py @@ -110,6 +110,8 @@ EXAMPLES = ''' hostname: 192.168.1.209 username: administrator@vsphere.local password: vmware + datacenter: datacenter_name + folder: /myfolder name: dummy_vm state: present snapshot_name: snap1 @@ -122,6 +124,8 @@ EXAMPLES = ''' username: administrator@vsphere.local password: vmware name: dummy_vm + datacenter: datacenter_name + folder: /myfolder state: remove snapshot_name: snap1 delegate_to: localhost @@ -131,6 +135,8 @@ EXAMPLES = ''' hostname: 192.168.1.209 username: administrator@vsphere.local password: vmware + datacenter: datacenter_name + folder: /myfolder name: dummy_vm state: revert snapshot_name: snap1 @@ -141,6 +147,8 @@ EXAMPLES = ''' hostname: 192.168.1.209 username: administrator@vsphere.local password: vmware + datacenter: datacenter_name + folder: /myfolder name: dummy_vm state: remove_all delegate_to: localhost