Ansible Galaxy - requirements.yml and a single github repo with multiple roles

669 views
Skip to first unread message

sarl...@hotmail.com

unread,
Mar 1, 2016, 4:33:30 PM3/1/16
to Ansible Project

In terms of github repos for ansible roles. Does galaxy supports having multiple “roles” in ONE github repo?

 

For example, let’s assume I have the following github repo https://github.com/sarlindo/ansiblemidddlewarerepo and in this github repo I have a bunch of ansible “roles” in separate folders such as “mysql”, “nginx” etc…

 

Can galaxy retrieve just the particular role I am interested in from this “shared” repo or will it have to download the WHOLE repo with ALL the roles? OR must I have EACH role in a separate github repo?

 


Seth Daemen

unread,
Mar 22, 2019, 5:32:46 PM3/22/19
to Ansible Project
Did you find a solution forum this?
Is IT posible tot user one git repo for multiple roles and use the ansible galaxy command OR requirements.yml

Jonathan Lozada De La Matta

unread,
Mar 22, 2019, 5:35:00 PM3/22/19
to ansible...@googlegroups.com

On Fri, Mar 22, 2019 at 5:32 PM Seth Daemen <daeme...@gmail.com> wrote:
Did you find a solution forum this?
Is IT posible tot user one git repo for multiple roles and use the ansible galaxy command OR requirements.yml

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/82d92473-5250-4036-810b-29cf85706cda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION PRACTICE



 

Seth Daemen

unread,
Mar 22, 2019, 6:07:48 PM3/22/19
to Ansible Project
Ok then I need mazer for multiple roles repositories. Buy the requirements.yml in roles directory use automtically ansible-galaxy command.
Reply all
Reply to author
Forward
0 new messages