# help getting selected facts

**URL:** <https://forum.ansible.com/t/help-getting-selected-facts/26841>\
**Category:** Ansible Project\
**Created:** [February 23, 2018, 7:18pm UTC](https://forum.ansible.com/t/help-getting-selected-facts/26841 "2018-02-23T19:18:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ananta.c](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@ananta.c](https://forum.ansible.com/u/ananta.c)\
**Post date:** [February 23, 2018, 7:18pm UTC](https://forum.ansible.com/t/help-getting-selected-facts/26841/1 "2018-02-23T19:18:42Z")

</div>

Hello ,

I am trying to get facts ansible\_fqdn,ansible\_domain,ansible\_distribution,ansible\_distribution\_major\_version,ansible\_kernel from my all hosts, but having trouble. I tried to follow [http://docs.ansible.com/ansible/latest/setup\_module.html](http://docs.ansible.com/ansible/latest/setup_module.html) , but I must be doing something wrong.

I don’t want all the facts just the one listed, can someone help please?

Thanks,  
ac
