# using (non-fact) hostvars specified in host ini file

**URL:** <https://forum.ansible.com/t/using-non-fact-hostvars-specified-in-host-ini-file/11890>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [September 14, 2012, 11:44am UTC](https://forum.ansible.com/t/using-non-fact-hostvars-specified-in-host-ini-file/11890 "2012-09-14T11:44:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [September 14, 2012, 11:44am UTC](https://forum.ansible.com/t/using-non-fact-hostvars-specified-in-host-ini-file/11890/1 "2012-09-14T11:44:08Z")

</div>

What version of ansible are you using?

(ansible --version)

---

<div class="post-metadata">

**Author:** ![Jonathan\_Palley](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jonathan\_Palley](https://forum.ansible.com/u/Jonathan_Palley)\
**Post date:** [September 22, 2012, 1:48pm UTC](https://forum.ansible.com/t/using-non-fact-hostvars-specified-in-host-ini-file/11890/2 "2012-09-22T13:48:01Z")

</div>

I run into the same problem with the latest git code as of this email. It looks like host\_vars is not injected into setup\_cache. Is this by design? Can we work around it?

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [September 22, 2012, 1:52pm UTC](https://forum.ansible.com/t/using-non-fact-hostvars-specified-in-host-ini-file/11890/3 "2012-09-22T13:52:10Z")

</div>

It will require a code change, please make sure there is a ticket.

– Michael
