# Propagating variables within a playbook

**URL:** <https://forum.ansible.com/t/propagating-variables-within-a-playbook/20973>\
**Category:** Ansible Project\
**Created:** [March 23, 2016, 7:12pm UTC](https://forum.ansible.com/t/propagating-variables-within-a-playbook/20973 "2016-03-23T19:12:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dejay\_Clayton](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@Dejay\_Clayton](https://forum.ansible.com/u/Dejay_Clayton)\
**Post date:** [March 23, 2016, 7:12pm UTC](https://forum.ansible.com/t/propagating-variables-within-a-playbook/20973/1 "2016-03-23T19:12:16Z")

</div>

I’ve discovered behavior that seems to indicate that Ansible’s handling of variables and facts is even more brittle than I had originally guessed. I hope that’s not the case; I hope I’m just being dense.

Could someone verify whether the following behavior is intended? If so, I’ll just go back to using Bash scripts.

**$ ansible-playbook -i=localhost, play1.yml**

ERROR! ‘test\_fact’ is undefined

**$ cat play1.yml**

# play1.yml
