# Issues with an jinja and magic variables script any help would be awesome

**URL:** <https://forum.ansible.com/t/issues-with-an-jinja-and-magic-variables-script-any-help-would-be-awesome/31099>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 22, 2019, 11:53am UTC](https://forum.ansible.com/t/issues-with-an-jinja-and-magic-variables-script-any-help-would-be-awesome/31099 "2019-08-22T11:53:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_C\_Rigler](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@S\_C\_Rigler](https://forum.ansible.com/u/S_C_Rigler)\
**Post date:** [August 22, 2019, 11:53am UTC](https://forum.ansible.com/t/issues-with-an-jinja-and-magic-variables-script-any-help-would-be-awesome/31099/1 "2019-08-22T11:53:36Z")

</div>

I’m going to guess that you probably don’t have facts cached (or the cache has expired) for the hosts where the variable is undefined.
