Oh I see

I have changed the code and if I include the role by means of include_role 
in the main tasks I get the expected result.

---
- include_role:
    name: some_other_role

- debug: var=some_variable


Why specifying role dependencies in the meta, and explicitly including them 
has different results? Shouldnt they be the same?

I think this is a bug.
 

El jueves, 13 de julio de 2017, 15:24:46 (UTC+2), Brian Coca escribió:
>
> The private setting does not affect dependencies as those are 
> specifically 'included' by the role. It is only mean to keep role vars 
> from polluting the rest of the play. 
>
>
> ---------- 
> Brian Coca 
>

-- 
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/62a3d25f-5bb5-4607-9c66-6ecf2aeb7aa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to