# vsphere\_guest gather\_vmware\_facts not returing ip addresses of vms running in esx hypervisor v5.5.0

**URL:** <https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155>\
**Category:** Ansible Project\
**Created:** [December 29, 2014, 7:58pm UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155 "2014-12-29T19:58:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Earl\_Robinson](https://avatars.discourse-cdn.com/v4/letter/e/958977/32.png) [@Earl\_Robinson](https://forum.ansible.com/u/Earl_Robinson)\
**Post date:** [December 29, 2014, 7:58pm UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155/1 "2014-12-29T19:58:59Z")

</div>

When using the gather\_vmware\_facts option in the vsphere\_guest module :

`  
$cat vmguest\_facts.yml

---

<div class="post-metadata">

**Author:** ![Rich\_Brantingham](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@Rich\_Brantingham](https://forum.ansible.com/u/Rich_Brantingham)\
**Post date:** [October 2, 2015, 7:03am UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155/2 "2015-10-02T07:03:29Z")

</div>

Did you manage to solve this?

I’m running into the same problem, except the response I get from vmware\_guest\_facts contains the correct field (ipaddress), it’s just populated with ‘null’.

Any pointers appreciated.

---

<div class="post-metadata">

**Author:** ![Federico\_Alaimo](https://avatars.discourse-cdn.com/v4/letter/f/b9bd4f/32.png) [@Federico\_Alaimo](https://forum.ansible.com/u/Federico_Alaimo)\
**Post date:** [December 20, 2016, 10:33am UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155/3 "2016-12-20T10:33:27Z")

</div>

Hello,  
I’m having the same issue here. Any solutions found?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Payal\_Singh](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@Payal\_Singh](https://forum.ansible.com/u/Payal_Singh)\
**Post date:** [March 22, 2017, 5:51am UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155/4 "2017-03-22T05:51:21Z")

</div>

Same issue…Any solution?

---

<div class="post-metadata">

**Author:** ![daan](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@daan](https://forum.ansible.com/u/daan)\
**Post date:** [March 23, 2017, 1:21pm UTC](https://forum.ansible.com/t/vsphere-guest-gather-vmware-facts-not-returing-ip-addresses-of-vms-running-in-esx-hypervisor-v5-5-0/17155/5 "2017-03-23T13:21:37Z")

</div>

Looking at vmware\_gather\_facts, about to be introduced in 2.3 (there is an rc1 tag if you are adventurous), Im doing something like this:

`
