# using vsphere-guest on esxi 6.0 (free version)

**URL:** <https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [May 5, 2016, 4:53am UTC](https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357 "2016-05-05T04:53:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albert\_Uy](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Albert\_Uy](https://forum.ansible.com/u/Albert_Uy)\
**Post date:** [May 5, 2016, 4:53am UTC](https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357/1 "2016-05-05T04:53:28Z")

</div>

Hi All,

Any suggestions on what to set the datacenter: parameter to?

i have an ESXi 6.0 whitebox at home, and am running Ansible 2.2.0 on an Ubuntu 16.04 vm. i’ve tried setting the datacenter: parameter to the hostname/ip of the whitebox, but i still end up getting this(i’ve added an entry in /etc/hosts for [vms01.auy.com](http://vms01.auy.com), and have verified that i can resolve it):

---

<div class="post-metadata">

**Author:** ![Albert\_Uy](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Albert\_Uy](https://forum.ansible.com/u/Albert_Uy)\
**Post date:** [May 6, 2016, 12:00am UTC](https://forum.ansible.com/t/using-vsphere-guest-on-esxi-6-0-free-version/21357/2 "2016-05-06T00:00:57Z")

</div>

Hi All,

Sorry i mixed up the results from two different tests…i ran another test and made sure the datacenter parameter matched the entry i made in /etc/hosts([vms01.acme.com](http://vms01.acme.com)), but i still got the same result.
