# Custom Inventory Question

**URL:** <https://forum.ansible.com/t/custom-inventory-question/27323>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 19, 2018, 9:40am UTC](https://forum.ansible.com/t/custom-inventory-question/27323 "2018-04-19T09:40:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stephen\_Eaton](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stephen\_Eaton](https://forum.ansible.com/u/Stephen_Eaton)\
**Post date:** [April 19, 2018, 9:40am UTC](https://forum.ansible.com/t/custom-inventory-question/27323/1 "2018-04-19T09:40:52Z")

</div>

Hi All,

I’m new to AWX and have a question around dynamic inventory scripts.

AWX/Tower documentation points to the ansible contrib/inventory for examples and I want to use one of these to get my inventory, however it has a seperate config file from the main inventory script like most of them do. How do I handle this within AWX as I don’t want to store credentials within the script?

Regards,

Stephen

---

<div class="post-metadata">

**Author:** ![Stephen\_Eaton](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@Stephen\_Eaton](https://forum.ansible.com/u/Stephen_Eaton)\
**Post date:** [April 19, 2018, 9:48am UTC](https://forum.ansible.com/t/custom-inventory-question/27323/2 "2018-04-19T09:48:12Z")

</div>

further searching on the group found my answer - [https://groups.google.com/forum/#!msg/awx-project/A2lbDSMaa4g/dpliclnGBwAJ;context-place=searchin/awx-project/passing$20parameters$20to$20inventory$20script|sort:date](https://groups.google.com/forum/#!msg/awx-project/A2lbDSMaa4g/dpliclnGBwAJ;context-place=searchin/awx-project/passing$20parameters$20to$20inventory$20script%7Csort:date)
