On Wednesday, May 11, 2016 at 9:01:59 PM UTC-4, James Pearson Hughes wrote: > > So you don't find any times you wish you could share variables across > playbook groups? We have things like ansible_ssh_user defined in > host_vars, and some common "we use this value in a bunch of places" > variables in another vars file, and I'm hesitant about duplicating them. >
Could you elaborate? The structure that I use is to keep all "task includes" in a "tasks/" subdirectory. Each include expects that any necessary variables, required by the include, will be passed in from a root-level master playbook. -- 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/4e28e2e7-e28d-4928-8917-bb75d72795fd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
