HiveBrain v1.2.0
Get Started
← Back to all entries
snippetMinor

How to remove a non-existing GitHub Ansible role from Galaxy?

Submitted by: @import:stackexchange-devops··
0
Viewed 0 times
nongithubgalaxyremoverolehowexistingfromansible

Problem

According to this documentation it is possible to remove a role from Galaxy, but the following fails:

  • ansible-galaxy login succeeded



  • ansible-galaxy delete 030 https://github.com/030/ansible-firewall resulted 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-firewall

Code Snippets

ansible-galaxy delete 030 ansible-firewall

Context

StackExchange DevOps Q#1126, answer score: 7

Revisions (0)

No revisions yet.