Skip to content

Commit

Permalink
Upgraded default Java version to 17.0.4.1 (#304)
Browse files Browse the repository at this point in the history
Keeping up with the latest changes.
  • Loading branch information
freemanjp authored Oct 8, 2022
1 parent f2030e1 commit 6787703
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ are shown below):
# Java version number
# Specify '8', '11', '17' or '18' to get the latest patch version of that
# release.
java_version: '17.0.4+8'
java_version: '17.0.4.1+1'

# Base installation directory for any Java distribution
java_install_dir: '/opt/java'
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Java version number
# Specify '8', '11', '17' or '18' to get the latest patch version of that
# release.
java_version: '17.0.4+8'
java_version: '17.0.4.1+1'

# Base installation directory for any Java distribution
java_install_dir: '/opt/java'
Expand Down
13 changes: 7 additions & 6 deletions molecule/java-max-lts-offline/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

- name: download JDK for offline install
get_url:
url: "https://api.adoptium.net/v3/binary/version/{{ 'jdk-17.0.4+8' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.4_8.tar.gz'
url: "https://api.adoptium.net/v3/binary/version/{{ 'jdk-17.0.4.1+1' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.4.1_1.tar.gz'
force: no
timeout: '{{ java_download_timeout_seconds }}'
mode: 'u=rw,go=r'
Expand All @@ -29,10 +29,11 @@
- role: ansible-role-java
java_use_local_archive: yes
java_major_version: '17'
java_version: '17.0.4+8'
java_release_name: 'jdk-17.0.4+8'
java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.4_8.tar.gz'
java_redis_sha256sum: 'c0851d610b03cb51e9b360fef3e9ec2026c62837a143e7786649ba94f38cc0d1'
java_version: '17.0.4.1+1'
java_release_name: 'jdk-17.0.4.1+1'

java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.4.1_1.tar.gz'
java_redis_sha256sum: '5fbf8b62c44f10be2efab97c5f5dbf15b74fae31e451ec10abbc74e54a04ff44'

post_tasks:
- name: verify java facts
Expand Down

0 comments on commit 6787703

Please sign in to comment.