# Custom dynamic inventory script how to toggle node as enable/disable in AWX inventory?

**URL:** <https://forum.ansible.com/t/custom-dynamic-inventory-script-how-to-toggle-node-as-enable-disable-in-awx-inventory/32218>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 13, 2020, 7:23am UTC](https://forum.ansible.com/t/custom-dynamic-inventory-script-how-to-toggle-node-as-enable-disable-in-awx-inventory/32218 "2020-02-13T07:23:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_M](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@Ryan\_M](https://forum.ansible.com/u/Ryan_M)\
**Post date:** [February 13, 2020, 7:23am UTC](https://forum.ansible.com/t/custom-dynamic-inventory-script-how-to-toggle-node-as-enable-disable-in-awx-inventory/32218/1 "2020-02-13T07:23:07Z")

</div>

In a dynamic inventory script how can we tell AWX to import a node as disabled state in AWX inventory by dafault they are imported as enable state.

> **(attachments)**
>
> ![Screen Shot 2020-02-13 at 3.22.28 PM.png](https://us1.discourse-cdn.com/ansible/original/2X/d/d768ee39bd7840721fcc681634d362e59ea784ee.png)
