Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 31e85f9

Browse files
committed
Support 8u201 and 11.0.2
1 parent 6c9414b commit 31e85f9

File tree

5 files changed

+23
-9
lines changed

5 files changed

+23
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ None, but it is strongly advised to set `java_version`. You must set the `java_s
3939

4040
vars:
4141
- java_version: 11
42-
- java_subversion: 0.1
42+
- java_subversion: 0.2
4343
```
4444
4545
### JDK 9 / 10
@@ -80,7 +80,7 @@ User-configurable defaults:
8080
java_version: 8
8181
8282
# Java Subversion
83-
java_subversion: 191
83+
java_subversion: 201
8484
8585
# Whether to download Java from from Oracle directly
8686
# - oracle: Download from Oracle website on-the-fly.

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# User-configurable defaults
44

55
java_version: 8
6-
java_subversion: 191
6+
java_subversion: 201
77
java_download_path: /tmp
88

99
# Possible values: 'oracle', 'mirror' or 'local'

tasks/set-role-variables.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,19 @@
9494
## Version-specific variables
9595
# JDK 11
9696

97-
- name: Set internal variables for 11
97+
- name: Set internal variables for 11.0.2
98+
set_fact:
99+
jdk_version_detail: "{{ java_version }}.{{ java_subversion }}+9"
100+
jdk_tarball_hash: f51449fcd52f4d52b93a989c5c56ed3c
101+
when: java_version == 11
102+
103+
# All 11 versions following the current only available for download with oracle account (not supported by this role)!
104+
105+
- name: Set internal variables for 11.0.1
98106
set_fact:
99107
jdk_version_detail: "{{ java_version }}.{{ java_subversion }}+13"
100108
jdk_tarball_hash: 90cf5d8f270a4347a95050320eef3fb7
101-
when: java_version == 11
109+
when: java_version == 11 and java_subversion == 0.1
102110

103111
# JDK 10
104112

@@ -121,14 +129,20 @@
121129

122130
## JDK 8
123131

132+
- name: set internal variables for 1.8.0_201
133+
set_fact:
134+
jdk_version_detail: "{{ java_version }}u{{ java_subversion }}-b09"
135+
jdk_tarball_hash: 42970487e3af4f5aa5bca3f542482c60
136+
when: java_version == 8 and java_subversion == 201
137+
138+
# All versions below are only available for download with an oracle account (not supported by this role)!
139+
124140
- name: set internal variables for 1.8.0_191
125141
set_fact:
126142
jdk_version_detail: "{{ java_version }}u{{ java_subversion }}-b12"
127143
jdk_tarball_hash: 2787e4a523244c269598db4e85c51e0c
128144
when: java_version == 8 and java_subversion == 191
129145

130-
# All versions below are only available for download with an oracle account (not supported by this role)!
131-
132146
- name: set internal variables for 1.8.0_181
133147
set_fact:
134148
jdk_version_detail: "{{ java_version }}u{{ java_subversion }}-b13"

test_11.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Variables from defaults/main.yml
99
vars:
1010
- java_version: 11
11-
- java_subversion: 0.1
11+
- java_subversion: 0.2
1212
- java_download_path: "{{ oracle_java.path }}"
1313
- java_download_from: oracle
1414
- java_mirror: "http://download.oracle.com/otn-pub/java/jdk"

test_8_local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
vars:
1010
- java_version: 8
11-
- java_subversion: 181
11+
- java_subversion: 201
1212
- java_download_path: /tmp
1313

1414
# Possible values: 'oracle', 'mirror' or 'local'

0 commit comments

Comments
 (0)