# Ansible Galaxy account issues

**URL:** <https://forum.ansible.com/t/ansible-galaxy-account-issues/19129>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [August 27, 2015, 6:26pm UTC](https://forum.ansible.com/t/ansible-galaxy-account-issues/19129 "2015-08-27T18:26:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hristo\_Stoyanov](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@Hristo\_Stoyanov](https://forum.ansible.com/u/Hristo_Stoyanov)\
**Post date:** [August 27, 2015, 6:26pm UTC](https://forum.ansible.com/t/ansible-galaxy-account-issues/19129/1 "2015-08-27T18:26:19Z")

</div>

I think the idea to link up Galaxy account to Github as the only auth service is wrong. This is why neither Github not Docker hub do it.

Here is why:  
I created an account in Github, used that account to log into Galaxy and add my roles. Then deleted my account in GitHub (but still use the repositories there and organization under different github account). Now i can no longer log into my old Galaxy account and the roles I added are unmanageable and basically junk. Another problem is that I am forced to use the same username as my Github username, if I choose to open a new Galaxy account.

Any ideas how can I recover my Galaxy account?

---

<div class="post-metadata">

**Author:** ![Greg\_DeKoenigsberg1](https://avatars.discourse-cdn.com/v4/letter/g/838e76/32.png) [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Post date:** [August 27, 2015, 6:39pm UTC](https://forum.ansible.com/t/ansible-galaxy-account-issues/19129/2 "2015-08-27T18:39:40Z")

</div>

> I think the idea to link up Galaxy account to Github as the only auth  
> service is wrong. This is why neither Github not Docker hub do it.

Certainly willing to discuss it. 🙂

> Here is why:  
> I created an account in Github, used that account to log into Galaxy and add  
> my roles. Then deleted my account in GitHub (but still use the repositories  
> there and organization under different github account).

OK, I'm confused. From Github:

"Deleting your user account removes all repositories, forks of private  
repositories, wikis, issues, pull requests, and pages."

So if you delete your account, how are you still using your  
repositories? I'm guessing that you forked them elsewhere, and are  
now working with forks of a since-deleted project. Which is how it  
should work in Galaxy as well, right?

> Now i can no longer log into my old Galaxy account and the roles I added are unmanageable and basically junk.

If you really delete the Github account, the roles you added from that  
account would have been broken anyway because Galaxy pulls them from  
the originally associated Github repo, which would no longer be there.  
This is precisely the kind of scenario we're trying to detect and  
mitigate.

> Another problem is that I am forced to use the same username  
> as my Github username, if I choose to open a new Galaxy account.

Is there a reason you object to that?

> Any ideas how can I recover my Galaxy account?

You should still be able to login to your old Galaxy account and use  
it until the switchover happens. We're waiting until January to (a)  
make sure it's the right thing (I think it still is) and (b) give  
plenty of time to identify and work out corner cases.

--g

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [August 27, 2015, 6:44pm UTC](https://forum.ansible.com/t/ansible-galaxy-account-issues/19129/3 "2015-08-27T18:44:14Z")

</div>

And if for some reason you can’t login since it was removed (and you had no other associated accounts), just send the details to [support@ansible.com](mailto:support@ansible.com) and we can get things sorted out.

---

<div class="post-metadata">

**Author:** ![Hristo\_Stoyanov](https://avatars.discourse-cdn.com/v4/letter/h/c6cbf5/32.png) [@Hristo\_Stoyanov](https://forum.ansible.com/u/Hristo_Stoyanov)\
**Post date:** [August 27, 2015, 7:05pm UTC](https://forum.ansible.com/t/ansible-galaxy-account-issues/19129/4 "2015-08-27T19:05:45Z")

</div>

Greg,  
Here is the runaway account in Galaxy:  
[https://galaxy.ansible.com/list#/users/16353](https://galaxy.ansible.com/list#/users/16353)

“peruncs” is no longer a valid account in Github, but as you can see the repositories with the roles are live and well on github. The reason is that Github will only garbage-collect organizations and repositories when all associated admins have been deleted. However, I have another account “hrstoyanov” which manages them and keeps them alive.

The problem is that Galaxy was linked to the “peruncs” GitHub account …  
So, I had to recreate the roles here:  
[https://galaxy.ansible.com/list#/users/16352](https://galaxy.ansible.com/list#/users/16352)

with a name i do not like (i still prefer my roles to be under PERUNCS namespace/organization, e.g. ansible-galaxy install peruncs.docker), which is now impossible.

I think issues like that could be avoided if you allowed Galaxy specific accounts

Anyway, I still think linking accounts to github can be an issue
