mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -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
|
@ -46,9 +46,9 @@ extends_documentation_fragment: vmware.documentation
|
|||
EXAMPLES = r'''
|
||||
- name: Find Guest's Folder using name
|
||||
vmware_guest_find:
|
||||
hostname: 192.168.1.209
|
||||
username: administrator@vsphere.local
|
||||
password: vmware
|
||||
hostname: "{{ vcenter_hostname }}"
|
||||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
validate_certs: no
|
||||
name: testvm
|
||||
delegate_to: localhost
|
||||
|
@ -56,10 +56,9 @@ EXAMPLES = r'''
|
|||
|
||||
- name: Find Guest's Folder using UUID
|
||||
vmware_guest_find:
|
||||
hostname: 192.168.1.209
|
||||
username: administrator@vsphere.local
|
||||
password: vmware
|
||||
validate_certs: no
|
||||
hostname: "{{ vcenter_hostname }}"
|
||||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
uuid: 38c4c89c-b3d7-4ae6-ae4e-43c5118eae49
|
||||
delegate_to: localhost
|
||||
register: vm_folder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue