Score:1

Installing Oracle JDK using Ansible

lc flag

I've been researching this for a while and it seems that installing an Oracle JDK rather than OpenJDK through Ansible is much more troublesome due to licensing from Oracle.
I've found some community solutions on Ansible Galaxy, namely these two:

  • azavea.ansible-java which isn't working due to a deprecated PPA repository the Ansible roles are using

  • ansiblebit.oracle-java which seems promising, however this does require an oracle_java_apt_repository to be set, which we currently do not have.

It needs to be Oracle JDK specifically unfortunately, so there is no work around to changing to OpenJDK.
Is there any other way to install Oracle Java using Ansible, or at least be able to acquire a PPA to install the JDK from?

Thanks.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.