Hello,
I’ve noticed that the vsphere_guest modules that provides the ability to create/delete/manage a a guest VM through VMWARE vSphere is now deprecated.
The module advised for use current/future use is the vmware_guest module.
The vsphere_guest modules enables VMs to be created and managed with ansible on standalone ESXI servers that use the free hypervisor licence without vCenter - as used in many home/learning labs.
However, the vmware_guest module does not appear to allow VMs to be created (or indeed any write operations) on ESXI standalone server which only have the free licence and is, i believe, only really intended for use with vCentre
Therefore with deprecation of vsphere guest it would appear won’t be possible in the future to use ansible for home lab automation on a standalone esxi server without vCentre.
Note - I’ve tried migrating working vsphere_guest playbooks for creating and configuring VMs on ESXI standalone to the vmware_guest model and it does fail with the message
“Failed to create virtual machine due to product versioning restrictions: Current license or ESXi version prohibits execution of the requested operation.”
I am assuming that this is due to the underlying VMWare API used by vmware_guest that does not allow any write actions unless via vCenter.
Is anyone able to confirm the above is a correct understanding ?
Thanks,
Mike.