You control which roles are installed on your system, so that is really a matter of personal preference. If you use the ansible-galaxy tool to install roles from galaxy.ansible.com, you can specify both the version of the role (if the author is using versions) as well as the directory to save the role. That way, you could have multiple versions of the same role if you needed to.
The author and other information about each role is stored in the roles meta/main.yml, but is not used when declaring the dependency. On May 21, 2014 3:59 AM, "Andrew Pashkin" <[email protected]> wrote: > Here in the > docs<http://docs.ansible.com/playbooks_roles.html#role-dependencies>the way > to define dependencies for a role is described. > > But since role is often a reusable module, it must specify its exact > dependencies to be independent from whatever roles user have in his "roles" > folder. If I define dependency like postgres in my role how would I > ensure, that the postgres role is exactly that role what I used when > built my dependent role - so it takes all variables which I expected and > works as expected in general? > > -- > With kind regards, Andrew Pashkin. > cell phone - +7 (985) 898 57 59 > Skype - waves_in_fluids > e-mail - [email protected] > > -- > 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/537C6ACC.7090602%40gmx.co.uk<https://groups.google.com/d/msgid/ansible-project/537C6ACC.7090602%40gmx.co.uk?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/CAMFyvFhAdqp1FiBN%2BrZ3NGUmcLjZV3mQeyd9HKbYmgsBBTPGvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
