Parts of this are duplicating a lot of modules we already have in many
ways (apt, yum, apt key, apt add repository, etc) so I would be very
tempted to see if this could just be a playbook or a task include file
for those parts, and then maybe the last part remains a custom module.
Though really I think I'd be inclined to download it and put it in a
yum repo, or just copy the content locally and use get_url with it,
followed up by command to run the binary installer.
You could use facts to help with selecting the right thing to run, and
conditionals to choose yum/apt as needed be if you wanted.
On Fri, Jan 25, 2013 at 3:03 PM, <
li...@glendenning.net> wrote:
> I have developed an Ansible module that installs Oracle Java (JDK or JRE,
> version 6 or 7) on Ubuntu/Fedora.
>
>
https://github.com/lisaglendenning/ansible_java
>
> In case anyone else finds it useful. Feedback welcome.
>
> Cheers,
> Lisa
>
> --
>
>