@@ -14,6 +14,11 @@ This Ansible role has the following features for:
1414- Install JRE, JDK
1515- Additional opportunity to install from openjdk-fallback, repositories, s3, web, chocolatey, local source.
1616
17+ ** ZULU**
18+
19+ - Install JDK
20+ - Additional opportunity to install from zulu-fallback, s3, web, local source, chocolatey.
21+
1722** Oracle Java:**
1823
1924 - Install JRE, JDK, Server-JRE
@@ -27,17 +32,11 @@ This Ansible role has the following features for:
2732- Install JDK
2833- Additional opportunity to install from sapjvm-fallback, s3, web, local source.
2934
30- ** ZULU**
31-
32- - Install JDK
33- - Additional opportunity to install from zulu-fallback, s3, web, local source, chocolatey.
34-
3535** Adoptium**
3636
3737- Install JDK, JRE
3838- Additional opportunity to install from adoptium-fallback, repositories, web, local source, s3, chocolatey.
3939
40-
4140** SapMachine**
4241
4342- Install JDK, JRE
@@ -78,6 +77,12 @@ Requirements
7877 - 17
7978 - 21
8079 - 25
80+ - ** Supported zulu version** :
81+ - 8
82+ - 11
83+ - 17
84+ - 21
85+ - 25
8186 - ** Supported oracle java version** :
8287 - 7
8388 - 8
@@ -86,10 +91,6 @@ Requirements
8691 - ** Supported sapjvm version** :
8792 - 7
8893 - 8
89- - ** Supported zulu version** :
90- - 8
91- - 11
92- - 17
9394 - ** Supported Adoptium version** :
9495 - 8
9596 - 11
@@ -258,7 +259,6 @@ ansible-galaxy install lean_delivery.java
258259Example Playbook
259260----------------
260261### Installing OpenJDK 25 from openjdk-fallback (default role behaviour):
261-
262262``` yaml
263263- name : Install openjdk java
264264 hosts : all
@@ -269,19 +269,17 @@ Example Playbook
269269` ` `
270270
271271### Installing OpenJDK 21, 17, 11, 8 from repositories:
272-
273272` ` ` yaml
274273- name : Install openjdk java
275274 hosts : all
276275
277276 roles :
278277 - role : lean_delivery.java
279- transport : repositories
280278 java_major_version : 21
279+ transport : repositories
281280` ` `
282281
283282### Installing OpenJDK 11 from web:
284-
285283` ` ` yaml
286284- name : Install openjdk java
287285 hosts : all
@@ -294,8 +292,31 @@ Example Playbook
294292 transport_web : https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz
295293` ` `
296294
297- ### Installing Oracle java 8 from local file:
295+ ### Installing OpenJDK 11.0.2 on Windows host with win_chocolatey:
296+ ` ` ` yaml
297+ - name : Install java
298+ hosts : windows
299+
300+ roles :
301+ - role : lean_delivery.java
302+ java_package : jdk
303+ transport : chocolatey
304+ java_major_version : 11
305+ java_minor_version : 0.2
306+ ` ` `
298307
308+ ### Installing ZULU 25, 21, 17, 11, 8 from zulu-fallback:
309+ ` ` ` yaml
310+ - name : Install zulu
311+ hosts : all
312+
313+ roles :
314+ - role : lean_delivery.java
315+ java_major_version : 25
316+ java_distribution : zulu
317+ ` ` `
318+
319+ ### Installing Oracle java 8 from local file:
299320` ` ` yaml
300321- name : Install oracle java
301322 hosts : all
@@ -306,6 +327,7 @@ Example Playbook
306327 transport : local
307328 transport_local : /tmp/jdk-8u181-linux-x64.tar.gz
308329` ` `
330+
309331### Installing Oracle java 8 from S3 bucket:
310332Before install you should prepare host to use aws_s3 module
311333https://docs.ansible.com/ansible/latest/modules/aws_s3_module.html#requirements
@@ -322,21 +344,8 @@ https://docs.ansible.com/ansible/latest/modules/aws_s3_module.html#requirements
322344 transport : s3
323345 transport_s3_bucket : java-s3-bucket
324346 transport_s3_path : /java/jre-8u181-linux-x64.tar.gz
325-
326347` ` `
327- ### Installing OpenJDK 11.0.2 on Windows host with win_chocolatey:
328348
329- ``` yaml
330- - name : Install java
331- hosts : windows
332-
333- roles :
334- - role : lean_delivery.java
335- java_package : jdk
336- transport : chocolatey
337- java_major_version : 11
338- java_minor_version : 0.2
339- ` ` `
340349### Installing SAPJVM 8 from sapjvm-fallback:
341350
342351` ` ` yaml
@@ -349,19 +358,7 @@ https://docs.ansible.com/ansible/latest/modules/aws_s3_module.html#requirements
349358 transport : fallback
350359 java_major_version : 8
351360` ` `
352- ### Installing ZULU 17 from zulu-fallback:
353-
354- ` ` ` yaml
355- - name : Install zulu
356- hosts : all
357361
358- roles :
359- - role : lean_delivery.java
360- java_distribution : zulu
361- transport : fallback
362- java_major_version : 17
363- java_package : jdk
364- ` ` `
365362### Installing Adoptium 8-openj9-jre from adoptium-fallback:
366363
367364` ` ` yaml
0 commit comments