Ok yeah for now I'd just do a playbook that calls the ansible-galaxy
install command using a requirements file.

In 1.8 and later this can also suck down Ansible roles.

Once the v2/ refactor is further along I can see a module doing this and
roles being a bit more lazy loaded to allow runtime in the same playbook
*possibly*.



On Wed, Nov 5, 2014 at 3:06 PM, Juho Viitasalo <[email protected]>
wrote:

> It is the current thread: Roles, tasks and composability
> https://groups.google.com/forum/#!topic/ansible-project/9bghHncUQCM
>
> 2014-11-05 16:30 GMT+02:00 Michael DeHaan <[email protected]>:
>
>> Not seeing post from Denis on this thread - can you provide a link?
>>
>> Roles to download roles are possible, via something that uses
>> ansible-galaxy's CLI, though we need to refactor that a bit first (the
>> ongoing v2/ tree code) to make that more easy to access.
>>
>> On Wed, Nov 5, 2014 at 1:00 AM, Juho Viitasalo <[email protected]>
>> wrote:
>>
>>> I think Dennis's reasoning is good. I would also find this feature
>>> practical. Would it be possible to do a core module called 'role'?
>>>
>>> On Friday, October 4, 2013 5:13:25 PM UTC+3, Michael DeHaan wrote:
>>>>
>>>> "This does kinda solve the issue, however we want to treat the role as
>>>> readonly because changing it could break other playbooks."
>>>>
>>>> Ok, I'm confused now.
>>>>
>>>> What does "readonly" mean?
>>>>
>>>> Just don't modify the role in source control?
>>>>
>>>>
>>>>
>>>> On Fri, Oct 4, 2013 at 10:10 AM, Steve Weber <[email protected]>
>>>> wrote:
>>>>
>>>>>  > Saying you don't like ansible and then suggesting people use
>>>>> something else and linking to it isn't a good way to make friends.   You
>>>>> could have left that part out.
>>>>>
>>>>> Was not the intention..
>>>>>
>>>>> I have been using Ansible for ~a year and hit many roadblocks
>>>>> throughout the development.
>>>>> I did add that you are doing a good job keeping up to pace on issues.
>>>>>
>>>>>  > Roles already support dependencies as well since 1.3.
>>>>> This does kinda solve the issue, however we want to treat the role as
>>>>> readonly because changing it could break other playbooks.
>>>>>
>>>>> Anyway, keep up the good work and best of luck with AWX
>>>>>
>>>>> On Friday, 4 October 2013 09:22:56 UTC-4, Michael DeHaan wrote:
>>>>>
>>>>>> Hi Steve,
>>>>>>
>>>>>> Saying you don't like ansible and then suggesting people use
>>>>>> something else and linking to it isn't a good way to make friends.   You
>>>>>> could have left that part out.
>>>>>>
>>>>>> I'll help you anyway though, but please don't do it again.
>>>>>>
>>>>>> I strongly disagree that roles make any assumptions about whether
>>>>>> they are for bootstrap/basic/infrastructure/application.   You will
>>>>>> see in the documentation and code there's nothing in there at all about
>>>>>> these kinds of things and they are quite general purpose.
>>>>>>
>>>>>> As for a repository of roles, we're working on that.  Stay tuned!
>>>>>>
>>>>>> Roles already support dependencies as well since 1.3.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 4, 2013 at 8:48 AM, Steve Weber <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> I should add that Michael is doing an excellent good job improving
>>>>>>> these issues.
>>>>>>>
>>>>>>> I'm explicitly glad to see defaults/main.yml added to roles. This
>>>>>>> was my largest issue with sharing roles.
>>>>>>>
>>>>>>> --
>>>>>>> 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.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Michael DeHaan <[email protected]>
>>>>>>
>>>>>> CTO, AnsibleWorks, Inc.
>>>>>> http://www.ansibleworks.com/
>>>>>>
>>>>>>   --
>>>>> 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.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael DeHaan <[email protected]>
>>>> CTO, AnsibleWorks, Inc.
>>>> http://www.ansibleworks.com/
>>>>
>>>>   --
>>> 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/626b051f-fb47-4cfd-9d98-be31184a2156%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/626b051f-fb47-4cfd-9d98-be31184a2156%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 a topic in the
>> Google Groups "Ansible Project" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/ansible-project/9bghHncUQCM/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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%2BnsWgy_FJe__7Ei0Ub8QQVKZfF0V3o6U4e6XPGmDPSOuB3Vww%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgy_FJe__7Ei0Ub8QQVKZfF0V3o6U4e6XPGmDPSOuB3Vww%40mail.gmail.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%2BQ8zTy4tFwg4j%2BXpYwqqt712g%3DL%3DWuhTwizwnm5ow9BGe1NSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CA%2BQ8zTy4tFwg4j%2BXpYwqqt712g%3DL%3DWuhTwizwnm5ow9BGe1NSg%40mail.gmail.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%2BnsWgw_CqRqv6We5mUUsF%3DOLKH%2Be_gqYM7i9gTD8Fm5fK6REQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to