Many thanks Dann, I'll take a look. Yes, looks like the Ansible guys are onto it. I'm just about at the end of my own hand-crafted solution right now. So I'll finish this off and take a look at your module afterwards.
Jeff On Wednesday, June 15, 2016 at 7:01:34 PM UTC-7, Dann Bohn wrote: > > 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 > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fansible%2Fansible%2Fblob%2Fdevel%2Fdocsite%2Frst%2Froadmap%2FROADMAP_2_2.rs&sa=D&sntz=1&usg=AFQjCNGxJv75Ws-ndpS0m3Ey_YDC05w01Q>) > > 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/86b3111a-30d1-41aa-911c-1b327049babd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
