diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py b/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py index 5ad195faa1c..ca264389de2 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_facts.py @@ -63,15 +63,15 @@ extends_documentation_fragment: vmware.documentation ''' EXAMPLES = ''' -# Gather facts - - name: gather the VM facts - vmware_guest_facts: - hostname: 192.168.1.209 - username: administrator@vsphere.local - password: vmware - validate_certs: no - uuid: 421e4592-c069-924d-ce20-7e7533fab926 - register: facts +- name: Gather VM facts + vmware_guest_facts: + hostname: 192.168.1.209 + username: administrator@vsphere.local + password: vmware + validate_certs: no + uuid: 421e4592-c069-924d-ce20-7e7533fab926 + delegate_to: localhost + register: facts ''' RETURN = """