Hi list,
I noticed that Ansible installs some roles with another name and I opened https://github.com/ansible/ansible/issues/8908 - which is marked as fixed now, but it still does not work for me:
if I install my role:
$ ansible-galaxy install guillaumededrie.couchdb --roles-path=./provisioning/roles
it installs ANXS.erlang and ANXS.build-essential as dependencies.
However when I want to provision my VM, I get this error:
vagrant provision
==> default: Running provisioner: ansible…
ERROR: cannot find role in /Users/robert/project/provisioning/roles/Ansibles.erlang or /Users/robert/project/provisioning/Ansibles.erlang or /usr/local/etc/ansible/roles/Ansibles.erlang
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
I get this error because the playbook references “Ansibles.erlang” as dependency, but ansible-galaxy installs roles with another name/folder-name and then it breaks.
Is this the desired behavior for Ansible?
Best,
Robert