# Can't figure out how to gather facts

**URL:** <https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [December 13, 2017, 10:34pm UTC](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286 "2017-12-13T22:34:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Al\_Caron](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Al\_Caron](https://forum.ansible.com/u/Al_Caron)\
**Post date:** [December 13, 2017, 10:34pm UTC](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286/1 "2017-12-13T22:34:45Z")

</div>

When I look at any of my hosts in AWX, none of them have any facts. I’ve read the docs [here](https://github.com/ansible/awx/blob/devel/docs/fact_cache.md) but I still haven’t gotten any further. Per-Host Ansible Fact Cache Timeout is set to 0 in settings, and the template being run has Use Fact Cache enabled. What am I missing?

---

<div class="post-metadata">

**Author:** ![Christopher\_Meyers](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@Christopher\_Meyers](https://forum.ansible.com/u/Christopher_Meyers)\
**Post date:** [December 14, 2017, 3:08am UTC](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286/2 "2017-12-14T03:08:55Z")

</div>

Are you running a Job Template with a playbook that invokes the setup module (gather facts) ?

---

<div class="post-metadata">

**Author:** ![Al\_Caron](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@Al\_Caron](https://forum.ansible.com/u/Al_Caron)\
**Post date:** [December 14, 2017, 3:53pm UTC](https://forum.ansible.com/t/cant-figure-out-how-to-gather-facts/26286/3 "2017-12-14T15:53:57Z")

</div>

Here is a basic playbook I just created to attempt to gather facts. I set gather\_facts to true even though I believe it to be true by default.

- hosts: all  
gather\_facts: True  
tasks:
- setup:

The template runs successfully, but upon inspecting the scanned host, the gui does not show any facts.
