# Dynamic Inventory does not work: it gets interpreted as .ini

**URL:** <https://forum.ansible.com/t/dynamic-inventory-does-not-work-it-gets-interpreted-as-ini/15446>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [June 11, 2014, 7:15pm UTC](https://forum.ansible.com/t/dynamic-inventory-does-not-work-it-gets-interpreted-as-ini/15446 "2014-06-11T19:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Durivage](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@Paul\_Durivage](https://forum.ansible.com/u/Paul_Durivage)\
**Post date:** [June 11, 2014, 7:15pm UTC](https://forum.ansible.com/t/dynamic-inventory-does-not-work-it-gets-interpreted-as-ini/15446/1 "2014-06-11T19:15:09Z")

</div>

chmod +x host.py

Ansible uses the executable flag to determine whether or not a file is a .ini or script.
