I need to do a vmotion and I would need:
Is it possible to do with an Ansible module?
Thanks in advance!
Among the same cluster, have you tried : vmware_vmotion – Move a virtual machine using vMotion, and/or its vmdks using storage vMotion ?
but you're talking about 'another cluster' so i think it won't work : as said in Live Migration of Virtual Machines
VMware vSphere vMotion is a zero downtime live migration of workloads
from one server to another. This capability is possible across
vSwitches, Clusters, and even Clouds
So you are not doing vMotion by migrating from a cluster to another (you will have down time).
What you want to do is stop vm, download vmdk files from a cluster, upload it to another, and restore a vm with it (but i never did that, i only have one cluster)