Answers: <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>
  
Answers: CC BY-SA 3.0
Answers: 2017-05-10T09:26:04.027Z
Answers: 2017-05-10T09:26:04.027Z
Answers: Baptiste Mille-Mathias
Body: <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>
  
Tags: <github><ansible-galaxy>
Title: How to remove a non-existing GitHub Ansible role from Galaxy?
UserDisplayName: 030
ThreadText: # 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 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>
  
  **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 030 ansible-firewall
  
  ```
  
  
  ---
  
  