mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 05:19: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
|
@ -52,27 +52,27 @@ extends_documentation_fragment: vmware.documentation
|
|||
EXAMPLES = '''
|
||||
- name: Get Canonical name of particular target on particular ESXi host system
|
||||
vmware_target_canonical_facts:
|
||||
hostname: vcenter_hostname
|
||||
username: vcenter_user
|
||||
password: vcenter_pass
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
target_id: 7
|
||||
esxi_hostname: esxi_hostname
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Get Canonical name of all target on particular ESXi host system
|
||||
vmware_target_canonical_facts:
|
||||
hostname: vcenter_hostname
|
||||
username: vcenter_user
|
||||
password: vcenter_pass
|
||||
esxi_hostname: esxi_hostname
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
esxi_hostname: '{{ esxi_hostname }}'
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Get Canonical name of all ESXi hostname on particular Cluster
|
||||
vmware_target_canonical_facts:
|
||||
hostname: vcenter_hostname
|
||||
username: vcenter_user
|
||||
password: vcenter_pass
|
||||
cluster_name: cluster_name
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
cluster_name: '{{ cluster_name }}'
|
||||
delegate_to: localhost
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue