Hello, I have a doubt regarding variables precedence:
I sometimes have the case where role B depends on role A with role A
needing a specific variable value.
So in the dependencies file for role B I have something like:
dependencies:
- { role: role-A, role_a_var1: value1 }
But I'm not sure where this var declaration stands in the precedence list
for ansible 2.0+. I'd like this to be stronger than site variables for
instance, but less strong than inventory (group and host) variables.
By the way for site variables I mean variables defined somewhere and
included at some point in the playbook calling the role, with an
include_vars (so playbook level, actually?)
Thanks!
--
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/92be8d08-dd6e-457e-9328-c9783f3d389d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.