I'd like to hear advices for this as well. I do have one idea that I don't like however. You should be able to use group_vars relative to your playbooks as well. So put a group_vars dir outside of your inventories, next to your playbooks, and that will be evaluated for all envs.
On Thursday, June 25, 2015 at 5:16:08 PM UTC+3, ddffgpmfn wrote: > > Already doing that where possible, but for things like microservices that > have templated configs that use the same variable, having it in defaults > still requires copy-paste, but at that (potentially larger) level instead. > > Might it be possible to add an ansible configuration param that forces a > particular file to always be loaded, in addition to normal? > > Abuse a vars_plugin to always return the vars in a file...? > -- 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/4c8bedd0-3407-4c16-a802-16be0f9d9a9b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
