Skip to content

Commit

Permalink
Upgraded default Java version to 17.0.10 (#357)
Browse files Browse the repository at this point in the history
Keeping up with the latest changes.
  • Loading branch information
freemanjp authored Jan 28, 2024
1 parent baafa44 commit d44f8fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ are shown below):
# Java version number
# Specify '8', '11', '17' or '20' to get the latest patch version of that
# release.
java_version: '17.0.8+7'
java_version: '17.0.10+7'

# 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 @@ -3,7 +3,7 @@
# Java version number
# Specify '8', '11', '17' or '20' to get the latest patch version of that
# release.
java_version: '17.0.8+7'
java_version: '17.0.10+7'

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

- name: Download JDK for offline install
ansible.builtin.get_url:
url: "https://api.adoptium.net/v3/binary/version/{{ 'jdk-17.0.8+7' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.8_7.tar.gz'
url: "https://api.adoptium.net/v3/binary/version/{{ 'jdk-17.0.10+7' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.10_7.tar.gz'
force: false
timeout: '{{ java_download_timeout_seconds }}'
mode: 'u=rw,go=r'
Expand All @@ -30,11 +30,11 @@
- role: ansible-role-java
java_use_local_archive: true
java_major_version: '17'
java_version: '17.0.8+7'
java_release_name: 'jdk-17.0.8+7'
java_version: '17.0.10+7'
java_release_name: 'jdk-17.0.10+7'

java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.8_7.tar.gz'
java_redis_sha256sum: 'aa5fc7d388fe544e5d85902e68399d5299e931f9b280d358a3cbee218d6017b0'
java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.10_7.tar.gz'
java_redis_sha256sum: 'a8fd07e1e97352e97e330beb20f1c6b351ba064ca7878e974c7d68b8a5c1b378'

post_tasks:
- name: Verify java facts
Expand Down

0 comments on commit d44f8fc

Please sign in to comment.