diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b89ab4fb..abff147f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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' diff --git a/README.md b/README.md index 2e83b10b..5d2cf1e5 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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