ansible-roles/java
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults java: use default JRE when version is not specified 2022-09-30 11:39:05 +02:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
tests java: support for Oracle JRE 2018-06-11 10:39:52 +02:00
vars java: add Java 11 as possible version to install 2020-03-21 19:07:26 +01:00
.kitchen.yml java: support for Oracle JRE 2018-06-11 10:39:52 +02:00
README.md java: support for Oracle JRE 2018-06-11 10:39:52 +02:00

java

Install OpenJDK or OracleJDK

Tasks

  • openjdk.yml : install of OpenJDK
  • oracle.yml : install or OracleJDK

Available variables

  • java_alternative: choose between openjdk or oraclejdk (default to openjdk)
  • java_version: java version (default to 8)
  • java_default_alternative: make this verison the default alternative (default to true)