Username with dashes. Cannot remove role from galaxy.
devops13242 opened this issue · comments
Bug Report
SUMMARY
If username with dashes - cannot remove role from galaxy.
STEPS TO REPRODUCE
$ ansible-galaxy role install devops-1212.kubectl
Starting galaxy role install process
- downloading role 'kubectl', owned by devops-1212
- downloading role from https://github.com/devops-1212/ansible-role-kubectl/archive/0.0.1.tar.gz
- extracting devops-1212.kubectl to /home/fedora/.ansible/roles/devops-1212.kubectl
- devops-1212.kubectl (0.0.1) was installed successfully
$ ansible-galaxy role delete devops-1212 kubectl --token $(cat ~/.ansible/galaxy_token)
Role devops-1212.kubectl not found. Maybe it was deleted previously?
$ ansible-galaxy role delete devops_1212 kubectl --token $(cat ~/.ansible/galaxy_token)
ERROR! None (HTTP Code: 500, Message: Internal Server Error)
EXPECTED RESULTS
Role was deleted from the galaxy.
ACTUAL RESULTS
Role wasn't deleted.