You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| oracle_java_installed | fact set by this role that contains a flag that indicates if Java is installed on the host. |
41
-
| oracle_java_version_installed | fact set by this role that contains the string of the Java version installed in the system. |
42
-
41
+
-**oracle_java_installed**: fact set by this role that contains a flag that indicates if Java is installed on the host.
42
+
-**oracle_java_version_installed**: fact set by this role that contains the string of the Java version installed in the system.
43
43
44
44
## Role Variables
45
45
46
-
| variable | default | description |
47
-
|--:|:-:|:--|
48
-
| debug | undefined | flag to make role more verbose. |
49
-
| oracle_java_set_as_default | yes | make the newly installed Java the default runtime environment. |
50
-
| oracle_java_state | latest | the package state (see Ansible apt module for more information). |
51
-
| oracle_java_version | 8 | the Oracle JDK version to be installed. |
52
-
| oracle_java_version_string | 1.{{ oracle_java_version }}.0_u{{ oracle_java_version_update }} | the Java version string to verify installation against. |
53
-
| oracle_java_os_supported | - | role internal variable to check if a OS family is supported or not. |
46
+
-**debug**: flag to make role more verbose.
47
+
-**oracle_java_set_as_default**: make the newly installed Java the default runtime environment (default: `yes`).
48
+
-**oracle_java_os_supported**: role internal variable to check if a OS family is supported or not.
54
49
50
+
### Debian
55
51
56
-
### Debian-only
52
+
-**oracle_java_apt_repository**: Personal Package Archive (PPA) from where to install Java (default: `deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main`).
-**oracle_java_home**: the location of the Java home directory (default: `/usr/lib/jvm/java-10-oracle`).
67
+
-**oracle_java_state**:** the package state (see Ansible apt module for more information) (default: `latest`).
64
68
65
69
### Redhat-only
66
70
67
-
| variable | default | description |
68
-
|--:|:-:|:--|
69
-
| oracle_java_dir_source | /usr/local/src | directory where to store the RPM files. |
70
-
| oracle_java_home | /usr/java/jdk1.{{ oracle_java_version }}.0_{{ oracle_java_version_update }} | the location of the Java home directory. |
71
-
| oracle_java_rpm_validate_certs | yes | flag to indicate if you want SSL certificate validation. |
72
-
71
+
-**oracle_java_dir_source**: directory where to store the RPM files (default: `/usr/local/src`).
72
+
-**oracle_java_download_timeout**: download timeout, in seconds (default: `60`).
73
+
-**oracle_java_download_url**: where to download the rpm from (default: `http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.rpm`).
74
+
-**oracle_java_home**: the location of the Java home directory (default: `/usr/java/default`).
75
+
-**oracle_java_rpm_filename**: file name used for the download destination (default: `jdk-10.0.2_linux-x64_bin.rpm`).
76
+
-**oracle_java_rpm_validate_certs**: flag to indicate if you want SSL certificate validation (default: `yes`).
77
+
-**oracle_java_version**: the Oracle JDK version to be installed (default: `10`).
78
+
-**oracle_java_version_string**: the Java version string to verify installation against (default: `1.{{ oracle_java_version }}.0_u{{ oracle_java_version_update }}`).
0 commit comments