Adding new Galaxy role fails every time...

Hello, I attempted to add a role to Ansible Galaxy, but no matter what I try, it fails to import. I think its not saving the data properly. Here are the details.

Repository: https://github.com/basho-labs/ansible-riak

Input to ‘Add a Role’ form:
GH User: basho-labs
GH Repo: ansible-riak
alt name: riak-kv

resulting role: https://galaxy.ansible.com/list#/roles/5077

GH Repo button on above page links to https://github.com//

It’s a known issue with parsing the Unicode characters in the README.md file. We’re working to fix that in Galaxy, but if you swap out the apostrophes for the ASCII equivalent, it should work.

Bill

Thanks Bill. I removed the two non-ascii apostrophe’s I found, pushed the changes up and hit re-import, it has been running for like an hour and has only updated the keywords. It seems to be stuck. Should I delete and re-add?

Hey Chris-

Noticed also that dependencies: is defined incorrectly in your meta/main.yml. It needs to be an array.

Change line 107 to:

dependencies:

And, I believe that should fix the import issue.

I’ve added code to the Galaxy import process to surface this error on the UI. The change will land in our next release. Apologies for the inconvenience. Let me know, if you still run into issues.

Chris Houseknecht
chouse at ansible.com

Hey Chris-

Looks like there is an issue with dependencies: in meta/main.yml. It should be an array.

Change line 107 in meta/main.yml to:

dependencies:

And that should do it.

I added code to surface this error to the Galaxy UI. The change will land in our next release. Apologies for any inconvenience. If it still doesn’t work, please feel free to reach out to me.

Chris Houseknecht
chouse at ansible.com

Thanks for catching that Chris! It used to have a dependency but I removed that and didn’t realize I needed to initialize an empty object.

After I made the change and synced it out, I clicked re-import but it wouldn’t do anything so I deleted it and re-added the role and it is working beautifully now, thank you!