Hi all,

Upgrade to ansible 2.0, my playbook activities changed. I have a question 
about default variables of dependency roles.

I have a role A which depends on role B. Role B is defined in meta/main.yml 
of role A.
Actually, I want to override one default variable "var_a" of Role B. So I 
define "var_a" again in default/main.yml of Role A. By this way I override 
"var_a" with ansible 1.9. But when I use ansible 2.0, "var_a" could not be 
overridden again.

I am not sure whether it is a bug of ansible 2.0 or it is the enhancement 
of ansible 2.0.

Which is the best way to override the default variables of dependency role 
which is defined in meta/main.yml?

Thank you very much!

-- Rella

-- 
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/7ffb200a-5ae8-4096-8894-36fe1431bb99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to