Hello, What is your version of Ansible ? Starting version 2.4, vmware_guest is totally broken on the resource_pool parameter.
For previous versions, the default resource pool ithat could be indicated was /Resources and it was working. (It has been introduced in 2.3) To be honest, for the moment, you should use vsphere_guest. Even if it old and "soon" to be depreciated (aka when vmware_guest will be working properly), it's much more stable for the moment than vmware_guest and still have more functions. Le mercredi 3 janvier 2018 10:59:51 UTC+1, Martyn Kempster a écrit : > > Is there a way to get the vmware_guest module to not deploy a build from > template into a resource pool? Our vcenter has a cluster with 4 esx hosts > in, there is one resource pool that is setup for SRM, theres nothing in it > and i'm not entirely sure why its there. All our VMs get put straight into > the cluster not assigned to any resource pools but when I build with > ansible from a template it will always place the new vm in that resource > pool > > I've tried a few different ways to set the 'resource_pool:' option to fix > this but haven't found anything that works yet > > Thanks > -- 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/07a6d75a-0a3e-4501-86c0-d4c1b904d950%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
