# Why does vmware\_guest\_facts require a datacenter parameter?

**URL:** <https://forum.ansible.com/t/why-does-vmware-guest-facts-require-a-datacenter-parameter/24374>\
**Category:** Ansible Project\
**Created:** [May 2, 2017, 12:47pm UTC](https://forum.ansible.com/t/why-does-vmware-guest-facts-require-a-datacenter-parameter/24374 "2017-05-02T12:47:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKPhil](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Post date:** [May 2, 2017, 12:47pm UTC](https://forum.ansible.com/t/why-does-vmware-guest-facts-require-a-datacenter-parameter/24374/1 "2017-05-02T12:47:59Z")

</div>

As per [http://docs.ansible.com/ansible/vmware\_guest\_facts\_module.html](http://docs.ansible.com/ansible/vmware_guest_facts_module.html) (and my own testing) the vmware\_guest\_facts module requires a “datacenter” parameter, however, the example given on that page does not include it. To me, it doesn’t seem necessary given either the name or uuid of the VM. Even vmware\_guest does not require a “datacenter” value.

In the Options table against “datacenter” it states: “Destination datacenter for the deploy operation” which makes no sense as this module does not deploy anything and so doesn’t need a destination - is this a hang-over from an older module?
