# host\_vars mystery

**URL:** <https://forum.ansible.com/t/host-vars-mystery/23045>\
**Category:** Ansible Project\
**Created:** [November 16, 2016, 8:37pm UTC](https://forum.ansible.com/t/host-vars-mystery/23045 "2016-11-16T20:37:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Carlson](https://avatars.discourse-cdn.com/v4/letter/b/c67d28/32.png) [@Bill\_Carlson](https://forum.ansible.com/u/Bill_Carlson)\
**Post date:** [November 16, 2016, 8:37pm UTC](https://forum.ansible.com/t/host-vars-mystery/23045/1 "2016-11-16T20:37:58Z")

</div>

Hello,

Have an odd problem with host\_vars, work different on two systems.  
Using 2.1.2.0, Centos 6 on both.

On problem system, a run with only one host from inventory is failing to pickup host\_vars for other hosts, while groups\_vars are correct.  
If, on same system, run with all hosts shows the expected value, confirmed via ‘-debug: vars=hostvars’.

On another system, same setup, same user, same repo of playbook, same commit, run with single host shows the correct host\_vars for all hosts.

I’ve broken down to simple playbook file:

---

<div class="post-metadata">

**Author:** ![Bill\_Carlson](https://avatars.discourse-cdn.com/v4/letter/b/c67d28/32.png) [@Bill\_Carlson](https://forum.ansible.com/u/Bill_Carlson)\
**Post date:** [November 21, 2016, 4:02pm UTC](https://forum.ansible.com/t/host-vars-mystery/23045/2 "2016-11-21T16:02:35Z")

</div>

I finally reverted to ansible version 2.1.0.0, with this the run completed as expected.
