# github organization in galaxy?

**URL:** <https://forum.ansible.com/t/github-organization-in-galaxy/19845>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [November 24, 2015, 6:01pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845 "2015-11-24T18:01:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Tim1](https://forum.ansible.com/u/Tim1)\
**Post date:** [November 24, 2015, 6:01pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/1 "2015-11-24T18:01:40Z")

</div>

Hi all,

I’m part of an organization on github that wants to publish a role to galaxy as that organization. My account in linked in galaxy as the account that is part of the organization and when I specify the “username” in the galaxy field, it continues to use my personal account instead of the organization account.

I’m told that the organization itself doesn’t have a “user + password” combo anymore. Can anyone provide info on how to publish content on galaxy as the organization so that it doesn’t show up on galaxy as my personal account? Is this possible?

Thanks,  
tim

---

<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:** [November 24, 2015, 6:25pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/2 "2015-11-24T18:25:11Z")

</div>

> Hi all,
> 
> I'm part of an organization on github that wants to publish a role to galaxy  
> as that organization. My account in linked in galaxy as the account that is  
> part of the organization and when I specify the "username" in the galaxy  
> field, it continues to use my personal account instead of the organization  
> account.
> 
> I'm told that the organization itself doesn't have a "user + password" combo  
> anymore. Can anyone provide info on how to publish content on galaxy as the  
> organization so that it doesn't show up on galaxy as my personal account? Is  
> this possible?

Tim,

Right now there's no way to do it; we don't map well to Github  
organizations, only Github user accounts.

Stay tuned, though; we're currently evaluating some very big changes  
about how Galaxy interacts with Github.

The basic idea: no more Galaxy user accounts, and anyone can upload  
any Github repo (though of course only the people who own the repo can  
actually change the contents.) Artificial distinctions between Galaxy  
and Github namespaces will go away. Also makes galaxy cli  
functionality for batch role management easier.

We should have a demo to show in the coming weeks.

--g

---

<div class="post-metadata">

**Author:** ![Tim1](https://avatars.discourse-cdn.com/v4/letter/t/b782af/32.png) [@Tim1](https://forum.ansible.com/u/Tim1)\
**Post date:** [November 24, 2015, 6:27pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/3 "2015-11-24T18:27:40Z")

</div>

Thanks for the info Greg. I’ll stay on the look-out for this.

Thanks!  
tim

---

<div class="post-metadata">

**Author:** ![James\_Davis](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@James\_Davis](https://forum.ansible.com/u/James_Davis)\
**Post date:** [December 22, 2015, 9:35pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/4 "2015-12-22T21:35:39Z")

</div>

Greg,

How’s it coming with github organization support? I own the github organization “griidc”, under which I have created several ansible role repos. I would like those repos to be listed in galaxy as griidc.rolename. I cannot create a galaxy account for griidc because it is a github organization, not an account (and galaxy now only accepts github for new accounts). It looks like, currently, ansible namespaces are still tied to github usernames (I couldn’t find any way to change or create a new galaxy namespace). Will there be a way to create an ansible namespace for griidc?

Thanks,  
James

---

<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:** [December 22, 2015, 9:57pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/5 "2015-12-22T21:57:03Z")

</div>

If the github repo is under a github namespace, the corresponding galaxy repo will use the same namespace, period.

If you have write access to the org according to the github api, you should have the ability to publish a galaxy role for that org. Your github username is irrelevant; what is relevant is the access your github id has.

Hth.

---

<div class="post-metadata">

**Author:** ![James\_Davis](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@James\_Davis](https://forum.ansible.com/u/James_Davis)\
**Post date:** [December 22, 2015, 9:57pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/6 "2015-12-22T21:57:29Z")

</div>

I just found [https://github.com/ansible/galaxy-issues/issues/59](https://github.com/ansible/galaxy-issues/issues/59) and [https://galaxy-qa.ansible.com](https://galaxy-qa.ansible.com)

The solution there works great: [https://galaxy-qa.ansible.com/detail#/role/6398](https://galaxy-qa.ansible.com/detail#/role/6398)

Looking forward to the launch of 2.0. Thanks for the good work!

James

---

<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:** [December 22, 2015, 9:57pm UTC](https://forum.ansible.com/t/github-organization-in-galaxy/19845/7 "2015-12-22T21:57:42Z")

</div>

Note that this only works in the beta site currently.
