# inventory\_file is undefined

**URL:** <https://forum.ansible.com/t/inventory-file-is-undefined/18842>\
**Category:** Ansible Project\
**Created:** [July 24, 2015, 1:42pm UTC](https://forum.ansible.com/t/inventory-file-is-undefined/18842 "2015-07-24T13:42:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edgardo\_Vega](https://avatars.discourse-cdn.com/v4/letter/e/b2d939/32.png) [@Edgardo\_Vega](https://forum.ansible.com/u/Edgardo_Vega)\
**Post date:** [July 24, 2015, 1:42pm UTC](https://forum.ansible.com/t/inventory-file-is-undefined/18842/1 "2015-07-24T13:42:04Z")

</div>

I am currently running on head of the development tree and am getting the following error:

“msg”: “ERROR! the field ‘args’ has an invalid value, which appears to include a variable that is undefined. The error was: ‘inventory\_file’ is undefined”

inventory\_directory is working just fine. Did something change or is this a bug?

Cheers,

Edgardo
