On 29.03.2019 18:57, Mauricio Tavares wrote: > So let's say I have an inventory like this: > > [cars] > honda > volvo > saab > > [motos] > aprilla > moto-guzzi > > and in my playbook I am referring to motorcycles only > > - hosts: motos > > From what I understand, group_names returns the groups defined in the > inventory. How can I get a list of the host groups I am using in the > playbook?
You can't ref this thread https://groups.google.com/forum/#!msg/ansible-project/WntLXpN_gtg/HQ7PnjLZBAAJ -- Kai Stian Olstad -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3402d77e-da06-595f-a368-9deddb61b707%40olstad.com. For more options, visit https://groups.google.com/d/optout.
