Skip to content

Commit 1722453

Browse files
committed
roles/java - use proper format for checksum
1 parent 93e01fb commit 1722453

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

roles/java/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ java_download_base: >-
1010
java_tar_file: >-
1111
OpenJDK{{ java_major }}U-jdk_{{ java_arch }}_linux_hotspot_{{ java_ver }}_{{ java_build }}.tar.gz
1212
java_url: "{{ java_download_base }}/{{ java_tar_file }}"
13-
java_checksum: "{{ java_url }}.sha256.txt"
13+
java_checksum: sha256:{{ java_url }}.sha256.txt
1414
java_home: /opt/openjdk-{{ java_ver }}
1515
java_truststore: "{{ java_home }}/lib/security/cacerts"
1616
java_truststore_pass: changeit

roles/java/meta/argument_specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ argument_specs:
2424
description: |
2525
Checksum of the java tarball in format hash_type:[hash_value|hash_url]
2626
default: >-
27-
https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.?14%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz.sha256.txt
27+
sha256:https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.?14%2B7/OpenJDK17U-jdk_x64_linux_hotspot_17.0.14_7.tar.gz.sha256.txt
2828
keystores:
2929
short_description: Main entrypoint for the java role
3030
options:

0 commit comments

Comments
 (0)