# Ansible vmware\_guest ignoring the customization for windows template builds

**URL:** <https://forum.ansible.com/t/ansible-vmware-guest-ignoring-the-customization-for-windows-template-builds/33147>\
**Category:** Ansible Developer\
**Tags:** windows, vmware\
**Created:** [June 10, 2020, 6:12pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-ignoring-the-customization-for-windows-template-builds/33147 "2020-06-10T18:12:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daryn\_Dunn](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@Daryn\_Dunn](https://forum.ansible.com/u/Daryn_Dunn)\
**Post date:** [June 10, 2020, 6:12pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-ignoring-the-customization-for-windows-template-builds/33147/1 "2020-06-10T18:12:35Z")

</div>

Hello everyone,

I am trying to setup Ansible Tower to build machines on my VMWare 6.7 servers. I am using the vmware\_guest module, It builds the machines and all the other functions are working, but the build ignores the customization settings I have. If I have the customization in the build, or run it alone on an already built machine, it gets ignored, the VMWare servers have the update vmtools. Any help would be apprechiated.

Code for in the build. This ends with a successful change, but ignores the customization stuff.:

hostname: “{{ vcenter\_server }}”  
username: “{{ lookup(‘env’, ‘VMWARE\_USER’) }}”  
password: “{{ lookup(‘env’, ‘VMWARE\_PASSWORD’) }}”  
validate\_certs: no  
name: “{{ WKS\_name }}”  
template: “{{ template }}”  
datacenter: “{{ CLdatacenter\_name }}”  
folder: “/Automation”  
state: poweredon  
cluster: “{{ cluster\_name }}”  
datastore: “{{ datastore }}”  
networks:

- name: “{{ network\_name }}”  
domain: “US”  
start\_connected: yes  
customization:  
hostname: “{{ WKS\_name }}”  
domain: “US”  
timezone: “020”  
wait\_for\_ip\_address: yes

Code for when I try it alone. This just says change false, nothing to change, even though there is.

```auto
    vmware_guest:
      hostname: "{{ vcenter_server }}"
      username: "{{ lookup('env', 'VMWARE_USER') }}"
      password: "{{ lookup('env', 'VMWARE_PASSWORD') }}"
      validate_certs: no
      name: "{{ WKS_name }}"
      customization:
        hostname: "{{ WKS_name }}"
        existing_vm: yes
        domain: "US"
        timezone: "020"
      wait_for_customization: yes

```
