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:
parent
cee8cc2a52
commit
a075c56dbf
1 changed files with 9 additions and 9 deletions
|
@ -63,14 +63,14 @@ 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
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue