Vmware Update hardware version of an existing vm

Hello

I’m using collection community.vmware (v4.0.0) to manage VM and I would like to upgrade the hardware version of an existing vm (v11 to v21).

With ansible, i can
. poweroff the VM
i need to upgrade the hardware version
. poweron the VM

I find this playbook https://github.com/ansible-collections/community.vmware/blob/main/tests/integration/targets/vmware_guest/tasks/reconfig_vm_to_latest_version.yml in which i see a task to upgrade VM to latest version but it does not work

How can i write a task to make a hardware upgrade of an existing VM ?

Thanks

Hi Thel,

Please post your playbook and error message, if any, or Ansible output. Without this, it’s impossible to tell what is wrong with your playbook or environment.

2 Likes