Jeff, You need to send the clone operation an customization spec in order to do guest customizations on a vSphere VM. This is not included in the vsphere_guest module.
>From what I can tell from reading the roadmap (https://github.com/ansible/ansible/blob/devel/docsite/rst/roadmap/ROADMAP_2_2.rs) the ansible folks would like to add such features to vsphere_guest in the 2.2 release. In the meantime, you can look at a module I wrote to accomplish this: https://github.com/whereismyjetpack/ansible_vcenter_module. It allows you to send specific guest customization parameters to the clone operation, the module is not ansibly (one of the first complaints I got), and requires pyvmomi instead of pysphere. I've been using this in production for a little over a year.. feel free to contact me if you have any questions, and time permitting i'll do my best to answer them. I've tested this code on vSphere 5.5 and 6.0. Dann On Wednesday, June 15, 2016 at 4:03:11 PM UTC-4, Jeff Richards wrote: > > Brian, I already have VMware tools installed, what options does that give > me? > > Jeff > > On Wednesday, June 15, 2016 at 9:06:28 AM UTC-7, Brian Coca wrote: >> >> sadly vmware/vcenter gives no direct way to do this, you either need to >> run a 'boot script' that does it or have the vmware guest tools installed. >> >> >> >> >> -- >> ---------- >> Brian Coca >> > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1feb834e-c4c5-447c-b15f-eae36378e040%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
