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
|
@ -51,23 +51,21 @@ extends_documentation_fragment: vmware.documentation
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# save the ESXi configuration locally by authenticating directly against the ESXi host
|
||||
- name: ESXI backup test
|
||||
- name: Save the ESXi configuration locally by authenticating directly against the ESXi host
|
||||
vmware_cfg_backup:
|
||||
hostname: esxi_hostname
|
||||
username: user
|
||||
password: pass
|
||||
hostname: '{{ esxi_hostname }}'
|
||||
username: '{{ esxi_username }}'
|
||||
password: '{{ esxi_password }}'
|
||||
state: saved
|
||||
dest: /tmp/
|
||||
delegate_to: localhost
|
||||
|
||||
# save the ESXi configuration locally by authenticating against the vCenter and selecting the ESXi host
|
||||
- name: ESXI backup test
|
||||
- name: Save the ESXi configuration locally by authenticating against the vCenter and selecting the ESXi host
|
||||
vmware_cfg_backup:
|
||||
hostname: vCenter
|
||||
esxi_hostname: esxi_hostname
|
||||
username: user
|
||||
password: pass
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
esxi_hostname: '{{ esxi_hostname }}'
|
||||
username: '{{ esxi_username }}'
|
||||
password: '{{ esxi_password }}'
|
||||
state: saved
|
||||
dest: /tmp/
|
||||
delegate_to: localhost
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue