Hi Xu -

Not that I have seen.  I believe you will have duplicate tasks run.

John 


On Tuesday, December 10, 2013 at 9:20 PM, Xu Chen wrote:

> 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] 
> (mailto:[email protected]).
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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