Update openjdk install task for Amazon Linux hosts
This commit is contained in:
parent
10f3d22464
commit
f355044a51
@ -35,10 +35,9 @@
|
|||||||
name: amazon-linux-extras
|
name: amazon-linux-extras
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|
||||||
- name: Install OpenJDK 11
|
- name: Install OpenJDK 11
|
||||||
yum:
|
shell: amazon-linux-extras install java-openjdk11 -y
|
||||||
name: java-openjdk11
|
|
||||||
state: present
|
|
||||||
when:
|
when:
|
||||||
- ansible_distribution == 'Amazon'
|
- ansible_distribution == 'Amazon'
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user