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.