# can't get Developing Dynamic Inventory working as expected...

**URL:** <https://forum.ansible.com/t/cant-get-developing-dynamic-inventory-working-as-expected/15692>\
**Category:** Ansible Developer\
**Created:** [July 17, 2014, 12:48pm UTC](https://forum.ansible.com/t/cant-get-developing-dynamic-inventory-working-as-expected/15692 "2014-07-17T12:48:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhenkai\_Jiang](https://avatars.discourse-cdn.com/v4/letter/z/71c47a/32.png) [@Zhenkai\_Jiang](https://forum.ansible.com/u/Zhenkai_Jiang)\
**Post date:** [July 17, 2014, 12:48pm UTC](https://forum.ansible.com/t/cant-get-developing-dynamic-inventory-working-as-expected/15692/1 "2014-07-17T12:48:52Z")

</div>

Having an modified python script generating following json string while --list. but get some error message from ansible. not sure what went wrong…

ERROR: failed to parse: {‘test’: [‘[jzk.simpletest.com](http://jzk.simpletest.com).’, ‘[test.simpletest.com](http://test.simpletest.com).’]}  
{  
“test”: [  
“[jzk.simpletest.com](http://jzk.simpletest.com).”,  
“[test.simpletest.com](http://test.simpletest.com).”  
]  
}

---

<div class="post-metadata">

**Author:** ![Zhenkai\_Jiang](https://avatars.discourse-cdn.com/v4/letter/z/71c47a/32.png) [@Zhenkai\_Jiang](https://forum.ansible.com/u/Zhenkai_Jiang)\
**Post date:** [July 17, 2014, 12:51pm UTC](https://forum.ansible.com/t/cant-get-developing-dynamic-inventory-working-as-expected/15692/2 "2014-07-17T12:51:23Z")

</div>

my bad. I left some stupid debug statement in the script. case closed. LOL
