Ansible 1.8 and recursive non-Galaxy dependencies

182 views
Skip to first unread message

Collin Allen

unread,
Oct 26, 2014, 1:08:57 AM10/26/14
to ansible...@googlegroups.com
Hi folks,

I see in the docs that ansible-galaxy in 1.8 will allow users to control where roles are fetched from using a new requirements.yml format. This is remarkably useful for privately-hosted roles, so thanks to everyone involved for all the work that has been put into this particular feature.

Given this new option, I'm curious if roles specified in the requirements.yml have meta info that indicates dependencies and those dependencies are also private, will invoking ansible-galaxy fetch both the parent role as well as all children? i.e. Will 1.8 allow users to privately host roles with privately hosted dependencies? It would be wonderful to be able to keep my private roles on site in a hierarchical layout like this.

Thanks so much!

~ Collin

Toshio Kuratomi

unread,
Oct 28, 2014, 2:56:37 AM10/28/14
to ansible...@googlegroups.com

We're still hashing this out.  I believe the current code allows this but introduces other bugs that we need to figure out whether/how to solve.

-Toshio

--
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/cd50ca7f-67e4-4813-943c-1c43312348a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Collin Allen

unread,
Oct 30, 2014, 6:23:12 PM10/30/14
to ansible...@googlegroups.com
Awesome, that's (mostly) great news.

I'm tempted to check out devel and see it in action. This will be great for users like me who can't publish roles publicly because of corporate policies.

Thanks!

Collin Allen

unread,
Nov 26, 2014, 12:57:26 PM11/26/14
to ansible...@googlegroups.com
Congrats on the 1.8 release!

Looking at the docs, it seems like private roles with private dependencies was punted on:

"To download a role with dependencies, and automatically install those dependencies, the role must be uploaded to the Ansible Galaxy website."

Any idea if that's going to be resolved in a future update?

Thanks again!

~ Collin
Reply all
Reply to author
Forward
0 new messages