# Random \<ansible hostvar name\> is undefined error

**URL:** <https://forum.ansible.com/t/random-ansible-hostvar-name-is-undefined-error/22740>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [October 7, 2016, 2:40pm UTC](https://forum.ansible.com/t/random-ansible-hostvar-name-is-undefined-error/22740 "2016-10-07T14:40:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [October 7, 2016, 2:40pm UTC](https://forum.ansible.com/t/random-ansible-hostvar-name-is-undefined-error/22740/1 "2016-10-07T14:40:35Z")

</div>

I’m running ansible 2.2.0, and getting these weird varialbe is undefined errors. I’m getting them on variables i KNOW are in hostvars, such as ansible\_\_powershell\_version on a windows node.

I know there was some chatter about this, is anyone else seeing the same?
