June 2018
Beginner
578 pages
13h 39m
English
This module migrates the named virtual machine from standard vSwitches, which are tied to a single host, to a distributed vSwitch that's available across your cluster:
- name: migrate vm to dvs vmware_vm_vss_dvs_migrate" hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}"
password: "{{ vsphere_password }}" vm_name: "example_vm" dvportgroup_name: "example_portgroup" delegate_to: localhost
As you can see, we are moving the example_vm from the standard vSwitch to the distributed vSwitch called example_portgroup.
Read now
Unlock full access