forked from geerlingguy/ansible-role-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request geerlingguy#143 from samh241/AmazonLinux
Amazon linux
- Loading branch information
Showing
6 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ jobs: | |
- ubuntu2004 | ||
- debian12 | ||
- debian11 | ||
- amazonlinux2023 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
- name: Ensure Java is installed. | ||
package: | ||
name: "{{ java_packages }}" | ||
state: present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# JDK version options include: | ||
# - java-1.7.0-openjdk | ||
# - java-1.8.0-openjdk | ||
# - java-11-amazon-corretto | ||
# - java-17-amazon-corretto | ||
__java_packages: | ||
- java-17-amazon-corretto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# JDK version options include: | ||
# - java-1.8.0-openjdk | ||
# - java-11-amazon-corretto | ||
# - java-17-amazon-corretto | ||
# - java-21-amazon-corretto | ||
__java_packages: | ||
- java-11-amazon-corretto |