Skip to content

govc-datastore-manage

Use ansible to run PyVMOMI based vSwitch VMK migration.

This Stage runs a govc command to create a datastore on the ESXi instance. The Param govc/datastore-device will be used as the backing volume for the datastore defined by name in govc/datastore-name.

If not specified, the defaults for device are "first found device", and the name of the datastore will be set to "datastore1".

In addition, the more advanced "mapping" Param can be used to define multiple Datastore creations of different types (NFS, CIFS, VMFS, Local, etc.).