Hi, I'm exploring the use of add_host instead of a rather convoluted dynamic inventory setup. I can create the groups for each host, either by specifying groups in add_host, or using group_by. However, these only create flat, first-level groups. Now I need to have a group hierarchy (group of groups). Some of the group names are created dynamically, so I can't pre-load the inventory with the group organization.
How can a group of groups be created in the same way as group_by creates groups? Put another way: how do I add a group to a group inside a playbook? Thanks, -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1cbe2922-9a52-4870-b04b-5fc18e74868fo%40googlegroups.com.
