On 11.05.16 01:34 James Pearson Hughes wrote: > However, since we're getting a lot of different services we're supporting, > this ends up with a lot of different playbooks hanging out in the root. If > we put them in a subredirectory, then they can no longer access the roles, > variables, etc.
Roles can be specified including a path:
---
- hosts: whatever
roles:
- ../roles/my_wonderful_role
- ../roles/another_wonderful_role
In this case, the playbook containing this code is in a subdirectory
and can reach the roles location by ../roles/.
Johannes
--
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/57378329.3050204%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
