File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
ansible/roles/java-base/tasks Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 61
61
dest : " /usr/bin/java"
62
62
state : link
63
63
64
+ - name : download java on s390x
65
+ when : os == "rhel7" and arch == "s390x"
66
+ get_url :
67
+ url : https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u242-b08_openj9-0.18.1/OpenJDK8U-jdk_s390x_linux_openj9_8u242b08_openj9-0.18.1.tar.gz
68
+ dest : /tmp/
69
+
70
+ - name : unarchive java s390x
71
+ when : os == "rhel7" and arch == "s390x"
72
+ unarchive :
73
+ src : /tmp/OpenJDK8U-jdk_s390x_linux_openj9_8u242b08_openj9-0.18.1.tar.gz
74
+ remote_src : yes
75
+ dest : /opt
76
+ tags : java
77
+
78
+ - name : symlink java s390x
79
+ when : os == "rhel7" and arch == "s390x"
80
+ file :
81
+ src : " /opt/jdk8u242-b08/bin/java"
82
+ dest : " /usr/bin/java"
83
+ state : link
84
+
64
85
# if this fails you want to check in vars/main.yml and add package name
65
86
# as appropriate -- try to use generic os family if available.
66
87
You can’t perform that action at this time.
0 commit comments