Skip to content

Commit

Permalink
Upgraded default Java version to 17.0.7 (#336)
Browse files Browse the repository at this point in the history
Keeping up with the latest changes.
  • Loading branch information
freemanjp authored Aug 3, 2023
1 parent 85df04c commit 6221521
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.6+10'
java_version: '17.0.7+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.6+10'
java_version: '17.0.7+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.6+10' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.6_10.tar.gz'
url: "https://api.adoptium.net/v3/binary/version/{{ 'jdk-17.0.7+7' | urlencode }}/linux/x64/jdk/hotspot/normal/adoptium?project=jdk" # noqa 204
dest: '{{ java_local_archive_dir }}/OpenJDK17-jdk_x64_linux_hotspot_17.0.7_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.6+10'
java_release_name: 'jdk-17.0.6+10'
java_version: '17.0.7+7'
java_release_name: 'jdk-17.0.7+7'

java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.6_10.tar.gz'
java_redis_sha256sum: 'a0b1b9dd809d51a438f5fa08918f9aca7b2135721097f0858cf29f77a35d4289'
java_redis_filename: 'OpenJDK17-jdk_x64_linux_hotspot_17.0.7_7.tar.gz'
java_redis_sha256sum: 'e9458b38e97358850902c2936a1bb5f35f6cffc59da9fcd28c63eab8dbbfbc3b'

post_tasks:
- name: Verify java facts
Expand Down

0 comments on commit 6221521

Please sign in to comment.