# help configuring python dynamic inventory from git

**URL:** <https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 25, 2021, 5:22pm UTC](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683 "2021-02-25T17:22:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Hoyt](https://avatars.discourse-cdn.com/v4/letter/k/d78d45/32.png) [@Kevin\_Hoyt](https://forum.ansible.com/u/Kevin_Hoyt)\
**Post date:** [February 25, 2021, 5:22pm UTC](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683/1 "2021-02-25T17:22:58Z")

</div>

Hi,

I’m new to this and I’m struggling a bit. I have a dyn inv script that was originally used in “Inventory Scripts” in an older version of awx. However I’ve recently installed 17.0.1 and I’m having trouble figuring out how to add that script into a project so it can be called in the inventory source. I’ve taken that python code and just saved into a new project, but when I sync the project to awx it doesn’t show up in in the source file options. I’ve been reading on the plugins, but it’s not making much sense to me. Any suggestions would be appreciated.

Thanks,  
Kevin

---

<div class="post-metadata">

**Author:** ![Riadh\_Hamdi](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@Riadh\_Hamdi](https://forum.ansible.com/u/Riadh_Hamdi)\
**Post date:** [February 26, 2021, 7:24am UTC](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683/2 "2021-02-26T07:24:23Z")

</div>

Hi Kevin,  
You can type it yourself inside the box (source file) . For exemple just type /mydir/myscript.py  
Regards,  
Riadh

---

<div class="post-metadata">

**Author:** ![Kevin\_Hoyt](https://avatars.discourse-cdn.com/v4/letter/k/d78d45/32.png) [@Kevin\_Hoyt](https://forum.ansible.com/u/Kevin_Hoyt)\
**Post date:** [February 26, 2021, 2:00pm UTC](https://forum.ansible.com/t/help-configuring-python-dynamic-inventory-from-git/34683/3 "2021-02-26T14:00:45Z")

</div>

Hello Riadh,

I just tried that and it’s not allowing me to type anything, just the pulldown.

Thanks,  
Kevin
