On Tue, Dec 15, 2015 at 1:10 AM, Tim Rupp <caphrim...@gmail.com> wrote: > Hey folks, > > I was testing the new galaxy 2.0 import process from the p.o.v. of a github > organization and had a question. > > Right now it imports as "MyOrganization.some-twisted-rolename" > > I was curious if there might be a way to make that name less...dunno how to > phrase this other than "internal"...so that if someone were going to install > it they would get a "nice" role name without renaming the github repository > to something that would make all the other developers in the organization > tilt their heads and say "what?" > > For example, to make it "pretty" (using a contrived example) if I were the > Redhat organization with a role in github called ansible-jboss, then galaxy > would make it available as "Redhat.ansible-jboss" when I actually just want > it to be available as "Redhat.jboss". But to rename the repo in github to be > just "jboss" would make existing jboss developers think that the jboss > source was in that directory instead of ansible modules.
The answer right now is "no, you can't". But that's one of the reasons we're doing an early beta here: to get feedback on issues like this. This is one of those questions we weighed quite a bit. In the end, we decided that a tight and transparent linkage to Github was the right way to go, and the ability to alias roles was less important, so we removed the aliasing ability. We expect that this will mean a lot of new roles with "ansible" in the name -- and I'm okay with that. In the past, we prohibited this; we basically remapped these role names for you. In your example, had you tried to import "redhat.ansible-jboss", we would have suggested "redhat.jboss" as your role name. I'm happy to hear other opinions on this. Is the ability to make the role name "pretty" important? --g -- Greg DeKoenigsberg Ansible Community Guy -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAM1FbhGCak%2BzWvyujPV3sS3nTYocBxLxDYEr8FZj5vAqp1N_bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.