Hello,

I recently upgraded to Ansible 2.0 and have noticed a change in behavior 
with how dependent roles in meta/main.yml are executed. For example:
dependencies:
 - { role: role1, when: trigger }
 - { role: role2, when: not trigger }

In Ansible 1.9, I could set trigger == True or trigger == False and only 
one of these two dependent roles would execute. Now, it doesn't seem to 
matter what trigger is set to, both are executed. Does the "when" 
conditional no longer work in dependent roles?

Thanks,

Andrew

-- 
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/391254ce-ebdf-49cf-ac1a-59cceb6e6bf9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to