I seriously suspect you don't need role dependencies.

Just put the things in your roles you need, or call setup roles before
other roles.




On Tue, Jul 29, 2014 at 6:42 PM, John Anderson <[email protected]> wrote:

>
>
> On Tuesday, July 29, 2014 1:59:37 PM UTC-7, Michael DeHaan wrote:
>>
>> Nope, just saying that was a quicker problem.
>>
>> It seems you are modelling role dependencies a bit heavy.  People will
>> disagree, and they silenced some important concerns from people who really
>> felt they needed them, but I actually encourage not using role deps for
>> most cases.
>>
>> What Serge said above about enabling duplicates should resolve your
>> question.
>>
>
> Yeah, duplicates is how I solved my problem in the short term but this
> made it so my roles run tons of times and it slows my script down by an
> hour because some of my roles that would need to be marked as duplicates
> are all the common things that can be inherited but only ran once, so
> things like checking if there is a new version in git, installing common
> packages etc.
>
> --
> 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/8f94d4a1-c6d4-4576-8606-68d54427e6d6%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/8f94d4a1-c6d4-4576-8606-68d54427e6d6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CA%2BnsWgxyY8Na7cFjZuDSv7apLLhJ27jYigykJ_6PBSdVOHmOXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to