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,14 +63,14 @@ extends_documentation_fragment: vmware.documentation
'''
EXAMPLES = '''
# Gather facts
- name: gather the VM 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
'''