From 72d977057f491386164d20f5bfc6602f80e854fe Mon Sep 17 00:00:00 2001 From: Fobhep Date: Wed, 30 Aug 2017 21:26:23 +0200 Subject: [PATCH] Added datacenter as variable to expample block, since it is a required variable (#25944) --- lib/ansible/modules/cloud/vmware/vmware_guest_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py b/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py index 407f0f8c89..3fe19f9aa3 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py @@ -67,11 +67,12 @@ extends_documentation_fragment: vmware.documentation ''' EXAMPLES = ''' -- name: Gather VM facts +- name: Gather facts from standalone ESXi server having datacenter as 'ha-datacenter' vmware_guest_facts: hostname: 192.168.1.209 username: administrator@vsphere.local password: vmware + datacenter: ha-datacenter validate_certs: no uuid: 421e4592-c069-924d-ce20-7e7533fab926 delegate_to: localhost