Hi. I deployed one VM (Vcenter Server/ESXi 5.5.0) from windows server 2008 r2 template using ansible playbook. Now I 'd like to initialize it, but the vm is configured with sysprep, When the ansible start the vm, it stop in the windows startup.
hosts: localhost connection: local gather_facts: False tasks: - name: Create a VM from Template vmware_guest: validate_certs: false hostname: vcenterserver.lab.intranet username: user@lab.intranet password: ******* datacenter: DC folder: /POC/Ansible esxi_hostname: esxi@lab.intranet name: win1 state: poweredon template: TPL_W2008_STD_R2_SP1 disk: type: thin datastore: "LUN_POC_DS8870_1TB_01" networks: - name: Lab ip: 192.168.12.15 netmask: 255.255.255.0 customization: autologon: True dns_servers: - 192.168.12.10 joindomain: lab.intranet domainadmin: useradmin@lab.intranet domainadminpassword: ********* -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9f9a0c33-8fda-42f6-8b99-16e55ed9c239%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.