mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -07: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:
parent
4618583f2f
commit
1366a694f9
55 changed files with 516 additions and 529 deletions
|
@ -65,9 +65,9 @@ extends_documentation_fragment: vmware.documentation
|
|||
EXAMPLES = '''
|
||||
- name: Gather disk facts from virtual machine using UUID
|
||||
vmware_guest_disk_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: no
|
||||
uuid: 421e4592-c069-924d-ce20-7e7533fab926
|
||||
|
@ -76,9 +76,9 @@ EXAMPLES = '''
|
|||
|
||||
- name: Gather disk facts from virtual machine using name
|
||||
vmware_guest_disk_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: no
|
||||
name: VM_225
|
||||
|
@ -126,7 +126,7 @@ class PyVmomiHelper(PyVmomi):
|
|||
|
||||
def gather_disk_facts(self, vm_obj):
|
||||
"""
|
||||
Function to gather facts about VM's disks
|
||||
Gather facts about VM's disks
|
||||
Args:
|
||||
vm_obj: Managed object of virtual machine
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue