ansible-playbook search path for roles doesn't include librarian_roles
24601 opened this issue · 2 comments
24601 commented
sym linking it fixed the issue, but using the instructions out of the readme result in the following error.
Workaround that seems to work: ln -s ./librarian_roles roles
Maybe a better solution is directing librarian to put stuff in roles (I don't know, I'm an ansible newbie)
ERROR: cannot find role in /home/vagrant/ansible-mesos-playbook/roles/ansible-docker or /home/vagrant/ansible-mesos-playbook/ansible-docker or /etc/ansible/roles/ansible-docker
mhamrah commented
You can add this to your ansible.cfg file in the project directory:
roles_path=./librarian_roles
I'll update readme.
24601 commented
Thanks! Since I am a noob on ansible & associated libraries, this helps and is a better fix than the symlink! Thanks! Great work on this project, really like it & appreciate it!