# hostvars keys are not all hostnames?

**URL:** <https://forum.ansible.com/t/hostvars-keys-are-not-all-hostnames/19331>\
**Category:** Ansible Project\
**Created:** [September 22, 2015, 8:48pm UTC](https://forum.ansible.com/t/hostvars-keys-are-not-all-hostnames/19331 "2015-09-22T20:48:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_Smift1](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Post date:** [September 22, 2015, 8:48pm UTC](https://forum.ansible.com/t/hostvars-keys-are-not-all-hostnames/19331/1 "2015-09-22T20:48:36Z")

</div>

Given this playbook and inventory:

&nbsp;&nbsp;+$ cat hostvars.yml
