# Creating a dynamic inventory module (Python) with special return structure and parameters

**URL:** <https://forum.ansible.com/t/creating-a-dynamic-inventory-module-python-with-special-return-structure-and-parameters/16886>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [November 25, 2014, 9:31pm UTC](https://forum.ansible.com/t/creating-a-dynamic-inventory-module-python-with-special-return-structure-and-parameters/16886 "2014-11-25T21:31:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [November 25, 2014, 9:31pm UTC](https://forum.ansible.com/t/creating-a-dynamic-inventory-module-python-with-special-return-structure-and-parameters/16886/1 "2014-11-25T21:31:36Z")

</div>

dynamic inventory modules are supposed to return json, not ini

this has examples:  
[http://docs.ansible.com/developing\_inventory.html](http://docs.ansible.com/developing_inventory.html)

---

<div class="post-metadata">

**Author:** ![Ronny](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@Ronny](https://forum.ansible.com/u/Ronny)\
**Post date:** [November 26, 2014, 6:59am UTC](https://forum.ansible.com/t/creating-a-dynamic-inventory-module-python-with-special-return-structure-and-parameters/16886/2 "2014-11-26T06:59:49Z")

</div>

Sorry, my question was not clear. I created a new topic.  
This one can be deleted.
