<p>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:</p>

<pre><code>ansible-galaxy delete 030 ansible-firewall
</code></pre>

CC BY-SA 3.0
2017-05-10T09:26:04.027Z
2017-05-10T09:26:04.027Z
Baptiste Mille-Mathias
<p><a href="http://docs.ansible.com/ansible/galaxy.html#remove-an-installed-role" rel="nofollow noreferrer">According to this documentation</a> it is possible to remove a role from <a href="https://galaxy.ansible.com/" rel="nofollow noreferrer">Galaxy</a>, but the following fails:</p>

<ul>
<li><code>ansible-galaxy login</code> succeeded</li>
<li><code>ansible-galaxy delete 030 https://github.com/030/ansible-firewall</code> resulted in:</li>
</ul>

<blockquote>
  <p>ERROR! Galaxy user 030 does not have access to repo 030/<a href="https://github.com/030/ansible-firewall" rel="nofollow noreferrer">https://github.com/030/ansible-firewall</a></p>
</blockquote>

<github><ansible-galaxy>
How to remove a non-existing GitHub Ansible role from Galaxy?
030
# How to remove a non-existing GitHub Ansible role from Galaxy?

(Asked by: username_0 on 2017-05-09)

[According to this documentation](http://docs.ansible.com/ansible/galaxy.html#remove-an-installed-role) it is possible to remove a role from [Galaxy](https://galaxy.ansible.com/), but the following fails:

* `ansible-galaxy login` succeeded
* `ansible-galaxy delete username_0 https://github.com/username_0/ansible-firewall` resulted in:

> ERROR! Galaxy user username_0 does not have access to repo username_0/<https://github.com/username_0/ansible-firewall>

**Tags:** github, ansible-galaxy


---

## 1 answers

### Answer by username_1 on 2017-05-10. Score: 7 | Accepted answer

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 username_0 ansible-firewall


---

