Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ jobs:
- name: Run playbook
run: |
cd ..
ansible-playbook ansible-role-java/playbook.yml -e "java_major_version=25"
ansible-playbook ansible-role-java/playbook.yml
- name: Verify Java installation
run: java -version
openjdk-repo:
strategy:
matrix:
java_version:
- '25'
- '21'
- '17'
- '11'
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This Ansible role has the following features for:

**Amazon Corretto**

- Install JDK 8, 11, 17, 21, 25
- Install JDK
- Install JRE 8 (Amazon Linux 2 only)
- Additional opportunity to install from fallback, web, local source, s3.

Expand Down Expand Up @@ -259,17 +259,16 @@ ansible-galaxy install lean_delivery.java

Example Playbook
----------------
### Installing OpenJDK 25 from openjdk-fallback (default role behaviour):
### Installing OpenJDK GA release from openjdk-fallback (default role behaviour):
```yaml
- name: Install openjdk java
hosts: all

roles:
- role: lean_delivery.java
java_major_version: 25
```

### Installing OpenJDK 21, 17, 11, 8 from repositories:
### Installing OpenJDK 25, 21, 17, 11, 8 from repositories:
```yaml
- name: Install openjdk java
hosts: all
Expand Down
Loading