Hi Ansible people,
I’m labbing some dynamic playbooks stuff, and would like to access a list of the current host’s group membership dynamically. I guess I can scan everyone of them and try and match with inventory_hostname but was hoping for a better solution.
you want "group_names"
ah, of course. Thanks!