Dependencies with another names are installed and break provisioning

40 views
Skip to first unread message

Robert Kowalski

unread,
Sep 15, 2014, 3:28:19 PM9/15/14
to ansible...@googlegroups.com
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

James Cammarata

unread,
Sep 15, 2014, 4:02:14 PM9/15/14
to ansible...@googlegroups.com
Hi Robert, that account recently switched names, and as a result we're still cleaning up some dependency issues. For now, you can get around this by modifying each meta/main.yml in the roles, to replace "Ansibles" with "ANXS" instead. We'll also ping the author to let him know about the issue.

Thanks!

--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cd911703-5582-4fff-b531-7b44976348b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages