cloudera.exe.jdk_facts module – Retrieve JDK information
Note
This module 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.jdk_facts
.
New in cloudera.exe 3.0.0
Synopsis
Retrieve information about the installed Java JDK as facts.
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in check_mode and return changed status prediction without modifying target, if not supported the action will be skipped. |
|
Support: none |
Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode |
|
Support: full |
Action returns an |
|
Platforms: |
Target OS/families that can be operated against |
See Also
See also
- Java version history
Java version history
Examples
- name: Retrieve JDK details
cloudera.exe.jdk_facts:
Returned Facts
Facts returned by this module are added/updated in the hostvars
host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
Key |
Description |
---|---|
Details on installed Java JDK executable. Returned: always |
|
JDK Returned: when supported |
|
JDK Returned: when supported |
|
JDK Returned: when supported |
|
JDK Returned: when supported |
|
JDK provider. Normalized for Oracle trademark. Returns Returned: always |
|
JDK Returned: when supported |
|
JDK Returned: when supported |
|
JDK version string in its entirety. Returned: when supported |