# Oracle Java module

**URL:** <https://forum.ansible.com/t/oracle-java-module/12250>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [January 25, 2013, 9:08pm UTC](https://forum.ansible.com/t/oracle-java-module/12250 "2013-01-25T21:08:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [January 25, 2013, 9:08pm UTC](https://forum.ansible.com/t/oracle-java-module/12250/1 "2013-01-25T21:08:56Z")

</div>

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.
