ansible-inventory has an --export option, this is only thing that keeps 'group variables' as such. Ansible internally always flattens variables to the host and groups are only a way to label hosts and to mass assign variables, they are not a first class entity. So the solutions above ONLY work when either variables are only defined in a specific group or hosts are not members of more than one group that defines the variable.
-- ---------- Brian Coca -- 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/CACVha7ccp%3D7QxQuCqo1PduQ1xJAzLAENYS02vXhXKoM3JhaFUw%40mail.gmail.com.
