# Help: ansible 2.5 and vmware\_guest

**URL:** <https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726>\
**Category:** Ansible Project\
**Tags:** vmware\
**Created:** [June 6, 2018, 6:27pm UTC](https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726 "2018-06-06T18:27:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allan\_B](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@Allan\_B](https://forum.ansible.com/u/Allan_B)\
**Post date:** [June 6, 2018, 6:27pm UTC](https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726/1 "2018-06-06T18:27:01Z")

</div>

I’m getting this error when run the playbook against vcenter 6.5. My playbook is very basic to build a new VM (not from template)

“msg”: “Failed to create a virtual machine : A specified parameter was not correct: pool”

I’m on ansible 2.5.1 and have both pysphere and pyvmomi. The same playbook ran fine with another vmware vcenter 5.5  
Has anyone run into this issue? or can anyone share a example of a playbook that works to build VM from scratch not from a template?

Thanks

---

<div class="post-metadata">

**Author:** ![Sebastien\_Desbois](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@Sebastien\_Desbois](https://forum.ansible.com/u/Sebastien_Desbois)\
**Post date:** [June 11, 2018, 4:21pm UTC](https://forum.ansible.com/t/help-ansible-2-5-and-vmware-guest/27726/2 "2018-06-11T16:21:30Z")

</div>

Hello,

Based on the error you get, I think this is linked with a “problem” with the resource pool where the VM will be placed.  
By default, if you don’t precise resource\_pool, I think it will try to put it in the “default” resource pool for your cluster / host. (based on 2.3 doc [https://docs.ansible.com/ansible/2.3/vmware\_guest\_module.html](https://docs.ansible.com/ansible/2.3/vmware_guest_module.html), this in not required)

But there were issues with vmware\_guest not finding the correct name of this default resource\_pool depending of the locale of the vCenter…  
Is your vCenter on antohr locale thant english ? Are you using a VCSA appliance or a Windows vCenter ?

(I hate the new documentation format… Honestly, not knowing if a parameter is mandatory or not is not helping)
