On Thu, Jul 17, 2014 at 2:53 AM, Michael DeHaan <mich...@ansible.com> wrote:

Take a look at the "allow_duplicates" parameter.
>
> http://docs.ansible.com/playbooks_roles.html#id8
>
This does not solve my problem.

I’m happy with the default (allow_duplicates=no). My issue is that it only
prevents the same role from executing multiple times *as a dependency*. If
the same role is also listed somewhere in the playbook (in addition to
being a dependency), allow_duplicates is irrelevant (currently).

I am looking for the equivalent of having allow_duplicates affect that role
everywhere, whether it is being executed as a dependency, or explicitly due
to being listed in a play.
​

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAM19uTCNcd7aCkn44RZRtctnxf3dOt8KCUodQw_buMvQO_Puig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to