# Dict - How to get correct values

**URL:** <https://forum.ansible.com/t/dict-how-to-get-correct-values/22839>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [October 20, 2016, 4:42am UTC](https://forum.ansible.com/t/dict-how-to-get-correct-values/22839 "2016-10-20T04:42:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [October 20, 2016, 4:42am UTC](https://forum.ansible.com/t/dict-how-to-get-correct-values/22839/1 "2016-10-20T04:42:11Z")

</div>

That depends on the host configuration, the fqdn fact is gathered directly from the machine, which uses the python function socket.getfqdn().

This translates into a few system calls that will vary their response depending on setup.
