# custom inventory script

**URL:** <https://forum.ansible.com/t/custom-inventory-script/31914>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 6, 2020, 5:49pm UTC](https://forum.ansible.com/t/custom-inventory-script/31914 "2020-01-06T17:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathanael\_Blanchet](https://avatars.discourse-cdn.com/v4/letter/n/dc4da7/32.png) [@Nathanael\_Blanchet](https://forum.ansible.com/u/Nathanael_Blanchet)\
**Post date:** [January 6, 2020, 5:49pm UTC](https://forum.ansible.com/t/custom-inventory-script/31914/1 "2020-01-06T17:49:29Z")

</div>

Hi,

I successfull run a custom inventory script, but I notice that down hosts are not default disabled in the hosts tab of AWX.  
While the dynamic inventory generated with the embedded RHV connector disables all down vms, and that’s what I do want for my custom script.

Is there something to do to automatically disable into the inventory vms which belong to a status\_down group?
