Skip to content

Commit

Permalink
PR #143 fix and Fixes #145: Amazon Linux fix broke other RHEL derivat…
Browse files Browse the repository at this point in the history
…ives.
  • Loading branch information
geerlingguy committed Apr 24, 2024
1 parent 6d160a4 commit aa52db0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![CI](https://github.com/geerlingguy/ansible-role-java/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-java/actions?query=workflow%3ACI)

Installs Java for RedHat/CentOS, Amazon and Debian/Ubuntu linux servers.
Installs Java for RedHat/CentOS, Amazon, and Debian/Ubuntu linux servers.

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# Setup/install tasks.
- include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat' and ansible_distribution_file_variety == 'RedHat'
when: ansible_os_family == 'RedHat'

- include_tasks: setup-Amazon.yml
when: ansible_distribution == 'Amazon'
Expand Down

0 comments on commit aa52db0

Please sign in to comment.