Good ideas. First off, the ansible version a particular role might need is already a field in the metadata and is displayed. We do however need to make the CLI enforce this, so if you are downloading a 1.5/1.6/future-using feature, the 1.4.2 CLI would yell at you, etc. Given, we're unlikely to update the 1.4.2 CLI, but a future CLI, of course :)
Secondly, yes, there isn't currently (yet) a way to store modules in a "/library" subdirectory of the role and have that added to the playbook module path. I'm open to this, however, I don't want it to discourage contribution of good generally-useful modules to core, and believe it *might* do so, so we'd probably want to at least verbally discourage it. It seems the desired behavior would be to insert things at the end of the module path to make sure no role could override a stock module, to avoid surprises, but that we should do this. On Thu, Dec 19, 2013 at 4:30 AM, Serge van Ginderachter < [email protected]> wrote: > > On 19 December 2013 02:55, Michael DeHaan <[email protected]>wrote: > >> http://galaxy.ansibleworks.com/ > > > Wonderful! I have been looking forward to this, and it seems to fulfill my > expectations! Thanks! > > I have a couple of questions though. > > How would we handle roles which needs modules that are not in core? > Will there be a way to also share modules? > > I was also thinking it might be a good idea to also manage the ansible > version a particular role would need? > > > Thumb up for this nice product! > > > Serge > > -- > 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]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
