Vmware_inventory and parent_group parameter

hi

I’m using AWX version 23.5.1, and I’d like to enhance my VMware inventory by adding a subgroup to a group. I found the parent_group parameter in the documentation, but I don’t know how to use it. I can’t find any references to it in the vmware_inventory.py script.

here is the doc

https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_vm_inventory_inventory.html#parameter-keyed_groups/parent_group

Thank you for your help :slight_smile:
Karim.

I wasn’t clear enough, I want to retrieve the name of the parent group which is stored in a variable (config.annotation)… but from what I see this parameter does not accept variables, only strings :frowning: (
so unless i create a source per group with the name of the parent hardcoded I don’t see how to do it :person_shrugging: