# AWX Inventory Strategy

**URL:** <https://forum.ansible.com/t/awx-inventory-strategy/1964>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [October 25, 2023, 8:51pm UTC](https://forum.ansible.com/t/awx-inventory-strategy/1964 "2023-10-25T20:51:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trippinnik](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/trippinnik/32/4308_2.png) [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Post date:** [October 25, 2023, 8:51pm UTC](https://forum.ansible.com/t/awx-inventory-strategy/1964/1 "2023-10-25T20:51:52Z")

</div>

I’m trying to find the best way to deal with some inventory situations. I pull some servers from Service-Now using the plugin in AWX. This is great. The main groupings I need are good with Prod/Dev etc using Smart Inventories

Where things get tricky is the auth. Some need different credentials. In AWX the Template pairs with an Inventory and credentials.

Using smart inventories I don’t seem to be able to exclude servers from another group, making smart inventory that tries to drill deeper isn’t working because I can’t lock the value for a specific group name. I can icontains or contains but if the value appears in a different group of another name then the server is included

---

<div class="post-metadata">

**Author:** ![djyasin](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/djyasin/32/114_2.png) [@djyasin](https://forum.ansible.com/u/djyasin)\
**Post date:** [November 1, 2023, 6:48pm UTC](https://forum.ansible.com/t/awx-inventory-strategy/1964/2 "2023-11-01T18:48:48Z")

</div>

Hello @trippinnik! We see this is your first time posting. Welcome!

Were you able to resolve this issue?

Have you looked into constructed inventory to see if it may suit your use case?

---

<div class="post-metadata">

**Author:** ![trippinnik](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/trippinnik/32/4308_2.png) [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Post date:** [November 1, 2023, 7:32pm UTC](https://forum.ansible.com/t/awx-inventory-strategy/1964/3 "2023-11-01T19:32:59Z")

</div>

Can constructed inventory exclude groups too or only additive?
