# recommended strategy for assembling roles dir from shared roles

**URL:** <https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743>\
**Category:** Ansible Project\
**Tags:** galaxy-ng\
**Created:** [March 10, 2014, 4:13pm UTC](https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743 "2014-03-10T16:13:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Sabo1](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@Jonathan\_Sabo1](https://forum.ansible.com/u/Jonathan_Sabo1)\
**Post date:** [March 10, 2014, 4:13pm UTC](https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743/1 "2014-03-10T16:13:32Z")

</div>

What are some good ways to automate pulling down shared roles from Galaxy or shared github repos? How are people doing that today? Are you scripting ansible-galaxy or do tools like librarian-whatever exist? What’s the best way to go about this?

Thanks,

Jonathan

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [March 10, 2014, 6:48pm UTC](https://forum.ansible.com/t/recommended-strategy-for-assembling-roles-dir-from-shared-roles/14743/2 "2014-03-10T18:48:17Z")

</div>

So galaxy already supports a requirements file:

IIRC

ansible-galaxy install -f filename

where the file is

username.rolename[,version]  
username.rolename

etc

When starting this I had posted in the beginning I think I had said I’m totally open  
to upgrades inspired from other tooling and want to see that happen versus a fragmentation  
of downloaders.

So if there is something you would like to see in the galaxy CLI, let’s talk about it, and pull requests are quite welcome.
