# Inventories - VMware vCenter - filter by config.guestId wildcart

**URL:** <https://forum.ansible.com/t/inventories-vmware-vcenter-filter-by-config-guestid-wildcart/37099>\
**Category:** AWX Project\
**Tags:** vmware\
**Created:** [September 15, 2022, 12:36pm UTC](https://forum.ansible.com/t/inventories-vmware-vcenter-filter-by-config-guestid-wildcart/37099 "2022-09-15T12:36:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nbmprivat](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Post date:** [September 15, 2022, 12:36pm UTC](https://forum.ansible.com/t/inventories-vmware-vcenter-filter-by-config-guestid-wildcart/37099/1 "2022-09-15T12:36:45Z")

</div>

Hi,

I am struggling to find proper documentation for filtering VMware vCenter inventory by operating system.

I’ve added Source variables:

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [September 16, 2022, 5:12pm UTC](https://forum.ansible.com/t/inventories-vmware-vcenter-filter-by-config-guestid-wildcart/37099/2 "2022-09-16T17:12:25Z")

</div>

Hello, your question seems to be about using Ansible, not about AWX.  
The [docs for the inventory plugin](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_vm_inventory_inventory.html) seem to indicate that there is a prefix option for keyed groups but you may want to reach out to the maintainers of the plugin.  
Or [https://groups.google.com/g/ansible-project](https://groups.google.com/g/ansible-project) is the best place to visit for user questions about Ansible. Thanks!

-The AWX Team

---

<div class="post-metadata">

**Author:** ![nbmprivat](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nbmprivat](https://forum.ansible.com/u/nbmprivat)\
**Post date:** [September 19, 2022, 8:24am UTC](https://forum.ansible.com/t/inventories-vmware-vcenter-filter-by-config-guestid-wildcart/37099/3 "2022-09-19T08:24:28Z")

</div>

Thanks.

You reply did the trick. For others the syntax in Ansible AWX/Tower is:
