# dynamic inventory not working

**URL:** <https://forum.ansible.com/t/dynamic-inventory-not-working/29902>\
**Category:** Ansible Project\
**Created:** [March 18, 2019, 1:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-not-working/29902 "2019-03-18T13:06:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahender\_Tirumala](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@Mahender\_Tirumala](https://forum.ansible.com/u/Mahender_Tirumala)\
**Post date:** [March 18, 2019, 1:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-not-working/29902/1 "2019-03-18T13:06:31Z")

</div>

can you please let me know where to change in ec2.py to get dynamic inventory success

getting unreachable error
