Hi
I am setting up a new VMware virtual machine from a template using a Ansible playbook.
I want to be able to change the datastore and the network (vm_disk and vm_nic) of the VM during the setup of the VM. But when I add this information into the playbook (see below), nothing happens.
The new VM is created, but the datastore and network have not been adjust to what I requested in the playbook. They have remained the same as what the template image is.
Am I doing something incorrect in the playbook? Or is this not possible with Ansible?
Playbook (highlighted in bold is what is not being adjusted)