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
pull/20907/head^2
Dag Wieers 8 years ago committed by John R Barker
parent cee8cc2a52
commit a075c56dbf

@ -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 = """

Loading…
Cancel
Save