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.

    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



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/3148713e-5f6d-4d14-bdc5-c450a04d3e79o%40googlegroups.com.

Reply via email to