cloudera.exe.prereq_jdk role – Set up the JDK

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.prereq_jdk.

Entry point main – Set up the JDK

New in cloudera.exe 3.0.0

Synopsis

  • Set up the Java Development Kit (JDK), optionally installing the JDK itself.

  • For JDK 9 and below, optionally enable the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy.

  • If the JDK is installed from the Cloudera repo, add any missing symlinks.

Parameters

Parameter

Comments

cloudera_manager_version

string / required

Version of Cloudera Manager for validation testing

cloudera_runtime_version

string / required

Version of Cloudera Runtime for validation testing

jdk_install_packages

boolean

Flag to enable JDK package installation.

Choices:

  • false

  • true ← (default)

jdk_packages

list / elements=string

List of OS packages to install if jdk_install_packages=true.

jdk_provider

string

JDK vendor or provider.

Choices:

  • "openjdk" ← (default)

  • "oracle"

  • "azul"

jdk_security_paths

list / elements=path

List of paths to search for java.security files to manage for JCE enablement.

jdk_security_paths_override

boolean

Flag to disable JCE changes ifo multiple java.security files are found.

Choices:

  • false ← (default)

  • true

jdk_version

integer

Supported JDK version.

Choices:

  • 8

  • 11

  • 17 ← (default)

Authors

  • Cloudera Labs