Funny thing is that if I refactor to explicitly include instead of meta 
dependencies I hit this bug, 
https://github.com/ansible/ansible/issues/23609.


El jueves, 13 de julio de 2017, 15:45:49 (UTC+2), Jose Luis Fernández Pérez 
escribió:
>
> 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/984fe314-3aaf-428b-997e-36d5094bf121%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to