snippetMinor
How to remove a non-existing GitHub Ansible role from Galaxy?
Viewed 0 times
nongithubgalaxyremoverolehowexistingfromansible
Problem
According to this documentation it is possible to remove a role from Galaxy, but the following fails:
ERROR! Galaxy user 030 does not have access to repo 030/https://github.com/030/ansible-firewall
ansible-galaxy loginsucceeded
ansible-galaxy delete 030 https://github.com/030/ansible-firewallresulted in:
ERROR! Galaxy user 030 does not have access to repo 030/https://github.com/030/ansible-firewall
Solution
You have to pass only the repository not the full HTTP URL of the repository when you want to delete it from what I've read in the documentation. So the command should be:
ansible-galaxy delete 030 ansible-firewallCode Snippets
ansible-galaxy delete 030 ansible-firewallContext
StackExchange DevOps Q#1126, answer score: 7
Revisions (0)
No revisions yet.