vmware_guest_facts: Add delegate_to directive to example (#22931)

Without it, this is not going to do what most people expect.

This fixes #22840
This commit is contained in:
Dag Wieers 2017-04-08 08:10:35 +02:00 committed by John R Barker
parent cee8cc2a52
commit a075c56dbf

View file

@ -63,15 +63,15 @@ extends_documentation_fragment: vmware.documentation
''' '''
EXAMPLES = ''' EXAMPLES = '''
# Gather facts - name: Gather VM facts
- name: gather the VM facts vmware_guest_facts:
vmware_guest_facts: hostname: 192.168.1.209
hostname: 192.168.1.209 username: administrator@vsphere.local
username: administrator@vsphere.local password: vmware
password: vmware validate_certs: no
validate_certs: no uuid: 421e4592-c069-924d-ce20-7e7533fab926
uuid: 421e4592-c069-924d-ce20-7e7533fab926 delegate_to: localhost
register: facts register: facts
''' '''
RETURN = """ RETURN = """