Skip to content

Commit

Permalink
Updated minimum test Java version to 8u402 (#355)
Browse files Browse the repository at this point in the history
The latest Java 8 release.
  • Loading branch information
freemanjp authored Jan 28, 2024
1 parent 08b33df commit 5445775
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ You can install a specific version of the JDK by specifying the `java_version`.
- hosts: servers
roles:
- role: gantsign.java
java_version: '8.0.382+5'
java_version: '8.0.402+6'
```

**Note:** with [curl](https://curl.haxx.se) and
Expand Down Expand Up @@ -176,11 +176,11 @@ This role exports the following Ansible facts for use by other roles:
* `ansible_local.java.general.version`

* e.g. `8u382`
* e.g. `8u402`

* `ansible_local.java.general.home`

* e.g. `/opt/java/jdk8u382`
* e.g. `/opt/java/jdk8u402`

Overriding `java_fact_group_name` will change the names of the facts e.g.:

Expand Down
12 changes: 6 additions & 6 deletions molecule/java-min-offline/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

- name: Download JDK for offline install
ansible.builtin.get_url:
url: 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u382-b05/OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz'
dest: '{{ java_local_archive_dir }}/OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz'
url: 'https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u402-b06/OpenJDK8U-jdk_x64_linux_hotspot_8u402b06.tar.gz'
dest: '{{ java_local_archive_dir }}/OpenJDK8U-jdk_x64_linux_hotspot_8u402b06.tar.gz'
force: false
use_proxy: true
validate_certs: true
Expand All @@ -33,11 +33,11 @@
roles:
- role: ansible-role-java
java_major_version: '8'
java_version: '8.0.382+5'
java_release_name: 'jdk8u382-b05'
java_version: '8.0.402+6'
java_release_name: 'jdk8u402-b06'
java_use_local_archive: true
java_redis_filename: 'OpenJDK8U-jdk_x64_linux_hotspot_8u382b05.tar.gz'
java_redis_sha256sum: '789ad24dc0d9618294e3ba564c9bfda9d3f3a218604350e0ce0381bbc8f28db3'
java_redis_filename: 'OpenJDK8U-jdk_x64_linux_hotspot_8u402b06.tar.gz'
java_redis_sha256sum: 'fcfd08abe39f18e719e391f2fc37b8ac1053075426d10efac4cbf8969e7aa55e'

post_tasks:
- name: Verify java facts
Expand Down
2 changes: 1 addition & 1 deletion molecule/java-min-online/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

roles:
- role: ansible-role-java
java_version: 8.0.382+5
java_version: 8.0.402+6
java_use_local_archive: false

post_tasks:
Expand Down

0 comments on commit 5445775

Please sign in to comment.