Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible: Add OpenJ9 JDK12 to aix playbook #746

Merged
merged 1 commit into from
Apr 2, 2019
Merged
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
30 changes: 27 additions & 3 deletions ansible/playbooks/aix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@
tags: java9


#################
# OpenJ9 JDK 10 #
#################
#################
# OpenJ9 JDK 10 #
#################
- name: Check for Java10 availability
stat:
path: /usr/java10_64
Expand Down Expand Up @@ -345,6 +345,30 @@
when: java11.stat.isdir is not defined
tags: java11

#################
# OpenJ9 JDK 12 #
#################
- name: Check for Java12 availability
stat:
path: /usr/java12_64
register: java12
tags: java12

- name: Create /usr/java12_64 if it doesn't exist
file:
path: /usr/java12_64
state: directory
when: java12.stat.isdir is not defined
tags: java12

- name: Transfer and Extract Java12
unarchive:
src: https://api.adoptopenjdk.net/v2/binary/releases/openjdk12?openjdk_impl=openj9&os=aix&arch=ppc64&release=latest&type=jdk
dest: /usr/java12_64
remote_src: yes
when: java12.stat.isdir is not defined
tags: java12

#########################################################################
# Install X11 extensions #
# x11.adt.ext installp download requiring an IBMid #
Expand Down