Bad choice of wording. So I like what a role in galaxy does so I download.
Now I want to override some of those role's defaults. In the case of this
rbenv role <https://github.com/zzet/ansible-rbenv-role> (which is also
available in galaxy), the version of Ruby it installs. If I include the
role using my site.file it just installs that role with its default values.
- hosts: all
user: ubuntu
sudo: true
roles:
- base-ami
- nodesource.node
- rbenv
- rails
What's the right way of doing that?
On Tue, Oct 14, 2014 at 4:57 AM, Michael DeHaan <[email protected]> wrote:
> "Now try to use an include statement in my role playbook"
>
> I'm having a bit of difficulty following.
>
> Galaxy is only a mechanism of downloading roles, not playbooks, so I'm
> currently understanding this to mean you seem to be requesting that roles
> that are not found are not an error?
>
> Can you perhaps clarify?
>
> Thanks!
>
>
>
>
>
> On Sun, Oct 12, 2014 at 11:38 PM, Navid Paya <[email protected]> wrote:
>
>> Hi all
>> I'm using an ansible-galaxy playbook. Right now I'm having it included
>> using my site.yml file:
>>
>> roles:
>> - nodesource.node
>> - base-ami
>>
>> Now try to use an include statement in my role playbook but it raises an
>> error since the playbook is an external one and not part of my playbook.
>> Any way around that, like telling my playbook this is an ansible-galaxy
>> playbook so don't expect to see it in the directory structure?
>>
>> - name: Include the nodesource.node playbook
>> include: nodesource.node
>>
>>
>> --
>> 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/2bf1fccd-c0e6-44fc-b7c0-ce75f934faef%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/2bf1fccd-c0e6-44fc-b7c0-ce75f934faef%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/ENJwHLN4ioA/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%2BnsWgxm6p8ON8iO5HjQcDdKJ%2BFCJ%2BiGdYC0orCeckiZUTNWPw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxm6p8ON8iO5HjQcDdKJ%2BFCJ%2BiGdYC0orCeckiZUTNWPw%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/CAFsFwzu6cvwOE%2BU51j4TJLNrJiBXs1Hkf%3DYKhB5OwwmU%3DGqaOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.