Failed to create a virtual machine : Cannot complete customization

Hi

Any help is much appreciated … Here is summary of issue :

Module :
vmware_guest

Error :

“msg”: “Failed to create a virtual machine : Cannot complete customization.”

Ansible Version :
ansible 2.9.10

Playbook :

I found the issue, the admin account was disabled & auto login was on…made auto login false & is good now

Dear Friend,

You can remove waitforip because you are not giving network ip … atleast as per your playbook shown. Instead, you can mention waitforcustomization as true…!!

Also, you are not mentioning network ip address/subnet/gateway details… How is it supposed to contact the domain controller ?

Must make sure VMware tools are installed and not corrupted on the template from which You are deploying vm.

Also, give password directive in customisation section for the vm. This will be your vm administrator password.
If I may ask… What’s the OS version in template ?? 2008r2/2012/2012r2 etc ??

Thanks,
Piyush

I am using a subnet which is DHCP , hence no need to have IP mentioned

The OS is windows 10

Thanks for the info, i will investigate on - waitforcustomization as true