From 62215218d0a5179a683ee2f981d160648e4e88a5 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Thu, 3 Aug 2023 22:37:22 +0100 Subject: [PATCH] Upgraded default Java version to 17.0.7 (#336) Keeping up with the latest changes. --- README.md | 2 +- defaults/main.yml | 2 +- molecule/java-max-lts-offline/converge.yml | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 4a6777f..bdaf7c2 100644 --- a/README.md +++ b/README.md @@ -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' diff --git a/defaults/main.yml b/defaults/main.yml index 39165e2..c904f6b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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' diff --git a/molecule/java-max-lts-offline/converge.yml b/molecule/java-max-lts-offline/converge.yml index a8418d9..977749c 100644 --- a/molecule/java-max-lts-offline/converge.yml +++ b/molecule/java-max-lts-offline/converge.yml @@ -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' @@ -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