For what it's worth, I recently created a role for installing Sun Java on Ubuntu. It's not as generic as Lisa's module, but could maybe serve as a foundation for something better.
See: https://letscrate.com/f/jcassee/ansible/java.zip Some notes: * Installs StartSSL certificates into the cacerts keystore. * Registers a variable because Java-based services in other roles may need to be restarted. Regards, Joost Op vrijdag 25 januari 2013 22:13:15 UTC+1 schreef Michael DeHaan: > > On Fri, Jan 25, 2013 at 4:09 PM, Brian Coca <[email protected]<javascript:>> > wrote: > > Looks good, just not sure why you re implemented apt/yum as you should > > be able to chain into the existing modules. > > There's no daisy chaining anymore, actually. And it's more efficient > that way. > > There are built-in functions so modules like copy can access the > functions of modules like file. > > To me, I think, this could /probably/ be simplified to a playbook of > maybe 30-40 lines, unless you were really concerned about it only > being one hop. > > Code quality is great though :) > -- 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/c6dd5e33-9b41-4411-83f0-221084a56616%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
