alfresco.platform.java role – Main entrypoint for the java role

Note

This role is part of the alfresco.platform collection (version 0.1.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 alfresco.platform.

To use it in a playbook, specify: alfresco.platform.java.

Entry point keystores – Keystores entrypoint for the java role

Synopsis

  • This entrypoint is used to manage the java keystores and truststores. It is used to create, import and export certificates and security keys.

Parameters

Parameter

Comments

java_default_group

string / required

Default group to use for the java keystore

java_default_username

string / required

Default username to use for the java keystore

java_home

string

Path to the java home (installation directory)

Default: "/opt/openjdk-17.0.14"

java_keystore

dictionary / required

Representation of the JRE keystore The whole object needs to be given (defaults are not merged)

cert_containers

list / elements=dictionary

A list of dict to represent certificates to import in keystore.

add_to_trusted_ca

boolean

Whether to look for and trust CA chain

Choices:

  • false ← (default)

  • true

pass

string / required

Certificate container password

path

string / required

Local path to the host specific PKCS12 certificate container

pass

string / required

Password to unlock the java keystore

path

string / required

Local path to the java keystore

seckeys

list / elements=dictionary

A list of dict to represent security keys.

algorythm

string

Encryption algorythm of the security key

Default: "AES"

length

integer

Length of the security key

Default: 256

name

string / required

Name of the security key to use as an alias in the keystore

pass

string / required

Passphrase of the security key

type

string / required

Type of keystore (JKS, JCEKS, PKCS12)

java_truststore

string

Local path to the java truststore

Default: "{{ java_home }}/lib/security/cacerts"

java_truststore_pass

string

Password to unlock the java truststore

Default: "changeit"

Entry point main – Main entrypoint for the java role

Synopsis

  • This entrypoint is used to install the java runtime with a given version.

Parameters

Parameter

Comments

java_checksum

string

Checksum of the java tarball in format hash_type:[hash_value|hash_url]

Default: "sha256:https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.?14%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz.sha256.txt"

java_home

string

Path to the java home (installation directory)

Default: "/opt/openjdk-17.0.14"

java_url

string

URL to download the java tarball

Default: "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.?14%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz"

java_version

string

Version of the java to install

Default: "17.0.14+7"