"Ansible doesn't necessarily support nested role directories like you
mention, so I am going to stick with dot notation."

Ansible can check out role paths anywhere you want, you'll just have to
configure the roles path in ansible.cfg OR stick the "/" in there when
referring to the role name.



On Fri, Dec 5, 2014 at 2:36 PM, Matt Martz <[email protected]> wrote:

> Dot notation is currently used by Galaxy, however the namespaces there are
> typically usernames.
>
> Ansible doesn't necessarily support nested role directories like you
> mention, so I am going to stick with dot notation.
>
> It's really just a directory name with a period in it at that point.
>
> To reference it, you need to use the full dot notated name such as
> "fizz.buzz"
>
>
> On Friday, December 5, 2014, Mirko Friedenhagen <[email protected]>
> wrote:
>
>> Hello,
>>
>> when you have a lot of roles, it might be feasible give them a
>> structure. What's the preferred way in ansible?
>> Using directory hierarchies like roles/fizz/buzz or dots roles/fizz.buzz?
>>
>> Regards Mirko
>> --
>> http://illegalstateexception.blogspot.com/
>> https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
>> https://bitbucket.org/mfriedenhagen/
>>
>> --
>> 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/CAK8jvqyNsDAhtwe%2Bde_NH27xg4pu_km7OoEeNdBz9r_pHDkwvg%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Matt Martz
> @sivel
> sivel.net
>
>  --
> 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/CAD8N0v9%2BbmzsGgmChLGqYbDK-EB8ftB3S%2BOJCTY91StJzrM18A%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAD8N0v9%2BbmzsGgmChLGqYbDK-EB8ftB3S%2BOJCTY91StJzrM18A%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%2BnsWgxi2sUwUA9nqKS25gn4KoCps2E4GZwTrZPcEdXM939T6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to