I have, and and still are, struggling with this as well. Our inventory is 
very similar to yours. We have three AWS environments, and dozens of other 
on-prem environments. For the AWS we need to share a bunch of variables. 
Putting those in playbook group_vars does not work because the are only for 
AWS, not the other environments. 

Hence I have resorted to soft-linking an aws-common.yml into each of the 
aws group_vars. Since git handles the links its really no pain, just a bit 
of confusion when searching.

I do a similar thing in the playbooks for other reasons. But now reading 
below the under playbooks ansible will look up the tree for group_vars I 
may not need those. 

-- 
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/c677eb4b-a7bf-4faa-a6c9-ec377882b202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to