Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Username with dashes. Cannot remove role from galaxy. #3321

Open
devops13242 opened this issue Feb 3, 2024 · 0 comments
Open

Username with dashes. Cannot remove role from galaxy. #3321

devops13242 opened this issue Feb 3, 2024 · 0 comments

Comments

@devops13242
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant