# set\_stats not push data to artifact variable

**URL:** <https://forum.ansible.com/t/set-stats-not-push-data-to-artifact-variable/31464>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 11, 2019, 8:16pm UTC](https://forum.ansible.com/t/set-stats-not-push-data-to-artifact-variable/31464 "2019-10-11T20:16:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Misenheimer](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@Nick\_Misenheimer](https://forum.ansible.com/u/Nick_Misenheimer)\
**Post date:** [October 11, 2019, 8:16pm UTC](https://forum.ansible.com/t/set-stats-not-push-data-to-artifact-variable/31464/1 "2019-10-11T20:16:37Z")

</div>

I am currently running:

Ansible 2.8.4  
AWX 7.0.0

When using the set\_stats module after connecting to Juniper devices via the Juniper.junos role the CUSTOM\_STATS are not being pushed to the artifact variable. I have tried example playbooks that are just for the localhost and those seem to work fine. I was curious if anyone had run into a similar issue.

Thanks

---

<div class="post-metadata">

**Author:** ![Mike\_Charchuk](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Mike\_Charchuk](https://forum.ansible.com/u/Mike_Charchuk)\
**Post date:** [October 11, 2019, 8:20pm UTC](https://forum.ansible.com/t/set-stats-not-push-data-to-artifact-variable/31464/2 "2019-10-11T20:20:47Z")

</div>

In Tower I have to enable the ‘use fact cache’ in the job template.

---

<div class="post-metadata">

**Author:** ![Nick\_Misenheimer](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@Nick\_Misenheimer](https://forum.ansible.com/u/Nick_Misenheimer)\
**Post date:** [October 11, 2019, 8:24pm UTC](https://forum.ansible.com/t/set-stats-not-push-data-to-artifact-variable/31464/3 "2019-10-11T20:24:26Z")

</div>

I have this enabled already. It only seems to be an issue when not interacting with the localhost.
