I have a gh handle
ngine-io but the old galaxy didn’t allow dashes in the namespace: so I got
However, for import into galaxy I used to use ngine-io like so
ansible-galaxy role import --api-key "$ANSIBLE_GALAXY_API_KEY" --role hcloud ngine-io ansible-role-hcloud
But this failed in galaxy-ng with
ERROR! None (HTTP Code: 403, Message: Forbidden)
After changing it to
ansible-galaxy role import --api-key "$ANSIBLE_GALAXY_API_KEY" --role hcloud ngine_io ansible-role-hcloud
the upload was successful.
A quick namespace lookup with “_” shows 413 namespaces. I guess those will run into the same issue when uploading.
So I would suggest to let them know by adding a proper error message in the log if the namespace does have a _ in it.