You may want to have a look here: 
https://groups.google.com/d/msg/ansible-project/nd4wMLsb0Jw/7-svzpNpTIQJ

Nathan Howell has demonstrated a very nice approach which works very nice 
for me.

Am Mittwoch, 11. Dezember 2013 06:20:00 UTC+1 schrieb Xu Chen:
>
> I have defined three roles: A, B and C.
>
> Using meta/main.yml, I have B depending on A, and C depending on A as 
> well. 
>
> If I have the following:
>
> - hosts: group_test
>   roles: 
>     - B
>     - C
>
> What happens is that the tasks associated to role A is executed twice. Is 
> there any dedup mechanism to execute them only once?
>
> 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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to