Installs any version of OpenJDK from Matthias Klose's openjdk-r PPA repository
openjdk_version - The version of the jdk (default: 15)
openjdk_types - A list of different installs (default: - jdk-headless)
The default installs openjdk-15-jdk-headless:
roles:
- honatas.openjdk_ppa
If you want to install Java 8 (openjdk-8-jdk-headless):
roles:
- { role: honatas.openjdk_ppa, openjdk_version: 8 }
If you want a full Java 11 development environment (this will install openjdk-11-jdk, openjdk-11-doc, openjdk-11-source, openjdk-11-demo)
roles:
- role: honatas.openjdk_ppa
openjdk_version: 11
openjdk_types:
- jdk
- doc
- source
- demo
None
None
MIT
Feel free to open an issue or add a pull request. Anytime. Really, I mean it.
Also, if you like my work, I'll let you know that I love coffee.