Open nahsi opened 11 months ago
Sorry to bother you, but it is been more than a month. Anything to share?
You have to use the undocumented API to accomplish this.
curl -v -X POST \
-H 'Authorization: token YOURAPITOKEN' \
-H 'Content-Type: application/json' \
-d '{"github_user": "nahsi", "github_repo": "ansible-base-ubuntu", "alternate_clone_url": "https://github.com/nahsilabs/ansible-base-ubuntu" }' \
https://galaxy.ansible.com/api/v1/imports/
That should return an ID value that you can check with
curl -v -X GET \
-H 'Authorization: token YOURAPITOKEN' \
https://galaxy.ansible.com/api/v1/imports?id=IDVALUE
Bug Report
SUMMARY
I cannot import role to ansible galaxy.
STEPS TO REPRODUCE
ansible-galaxy role import --token $GALAXY_TOKEN nahsilabs ansible-base-ubuntu
EXPECTED RESULTS
role added to ansible galaxy to nahsilabs namespace
ACTUAL RESULTS
ERROR! None (HTTP Code: 500, Message: Internal Server Error)
adding
-v
or-vvv
does nothing If I runI get