A couple of questions:

(1) Is it possible to set roles_path within a playbook?

(I tried "vars: {roles_path: ...}" and "vars: {ansible_roles_path: ...}" 
but they didn't work)

(2) Is it possible to set roles_path to search for directories relative to 
playbook_dir ?

Here's the use case. I want to organise a bundle  playbooks into a set of 
sibling directories, plus a "shared" directory for roles common to them all.

foo/
bar/
baz/
shared/

I would like to avoid writing

roles:
  - ../shared/roles/xxx
  - ../shared/roles/yyy

when referring to the shared roles. But I would also like users to be able 
to checkout the whole bundle at any location in the filesystem.

Thanks,

Brian.

-- 
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/8b2e6eae-b727-44a3-95d8-374ab25a2656%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to