I'm very new to Ansible and just discovered Ansible Galaxy as a way to 
reuse roles. I'm trying to figure out how best to use it within a project 
I'm sharing with other team members.

Specifically, If I use ansible-galaxy install to install a role, it 
installs it into /usr/local/etc/ansible/roles. My project, however, has a 
roles directory as well, which I commit to GitHub repository so I can share 
the project with other team members. What is the best way to use a 
ansible-galaxy-installed role from within my project and share it with the 
rest of the team as part of our project?

One way I could think of is to copy the files from under 
/usr/local/etc/ansible/roles into my project's roles directory and then 
commit them to the project's repo so the rest of the team gets them as 
well. Is this a good way or is there a better way?

Thanks,

Shaunak

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ccf364f0-4fe2-43c2-8f45-29f6b72e2b6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to