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
|
@ -63,30 +63,30 @@ extends_documentation_fragment: vmware.documentation
|
|||
EXAMPLES = '''
|
||||
- name: Perform vMotion of virtual machine
|
||||
vmware_vmotion:
|
||||
hostname: 'vcenter_hostname'
|
||||
username: 'vcenter_username'
|
||||
password: 'vcenter_password'
|
||||
validate_certs: False
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
validate_certs: no
|
||||
vm_name: 'vm_name_as_per_vcenter'
|
||||
destination_host: 'destination_host_as_per_vcenter'
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Perform storage vMotion of of virtual machine
|
||||
vmware_vmotion:
|
||||
hostname: 'vcenter_hostname'
|
||||
username: 'vcenter_username'
|
||||
password: 'vcenter_password'
|
||||
validate_certs: False
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
validate_certs: no
|
||||
vm_name: 'vm_name_as_per_vcenter'
|
||||
destination_datastore: 'destination_datastore_as_per_vcenter'
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Perform storage vMotion and host vMotion of virtual machine
|
||||
vmware_vmotion:
|
||||
hostname: 'vcenter_hostname'
|
||||
username: 'vcenter_username'
|
||||
password: 'vcenter_password'
|
||||
validate_certs: False
|
||||
hostname: '{{ vcenter_hostname }}'
|
||||
username: '{{ vcenter_username }}'
|
||||
password: '{{ vcenter_password }}'
|
||||
validate_certs: no
|
||||
vm_name: 'vm_name_as_per_vcenter'
|
||||
destination_host: 'destination_host_as_per_vcenter'
|
||||
destination_datastore: 'destination_datastore_as_per_vcenter'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue