mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
VMware: Update example (#43786)
* Unified examples in all modules * validate_certs is now 'no' instead of 'False' * delegate_to changes Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -46,21 +46,20 @@ extends_documentation_fragment: vmware.documentation
|
||||
EXAMPLES = '''
|
||||
- name: Gather cluster facts from given datacenter
|
||||
vmware_cluster_facts:
|
||||
hostname: 192.168.1.209
|
||||
username: administrator@vsphere.local
|
||||
password: vmware
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
datacenter: ha-datacenter
|
||||
validate_certs: False
|
||||
validate_certs: no
|
||||
delegate_to: localhost
|
||||
register: cluster_facts
|
||||
|
||||
- name: Gather facts from datacenter about specific cluster
|
||||
vmware_cluster_facts:
|
||||
hostname: 192.168.1.209
|
||||
username: administrator@vsphere.local
|
||||
password: vmware
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
cluster_name: DC0_C0
|
||||
validate_certs: False
|
||||
delegate_to: localhost
|
||||
register: cluster_facts
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user