File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Common/tasks Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 166166 - ansible_architecture == "armv7l"
167167 tags : default_java
168168
169+ - name : Check if JDK25/arm32 is already installed in the target location
170+ stat : path=/usr/lib/jvm/jdk25/bin/java
171+ register : jdk25_installed
172+ when :
173+ - ansible_architecture == "armv7l"
174+ tags : build_tools
175+
176+ - name : Download JDK25/arm32 build
177+ get_url :
178+ url : https://ci.adoptium.net/userContent/arm32/OpenJDK25U.arm32_linux.25+36.tar.gz
179+ dest : /dev/shm/OpenJDK25U.arm32_linux.25+36.tar.gz
180+ force : no
181+ mode : 0755
182+ checksum : sha256:9bc512f841a649fa4ae6244f87ef6e9789f779fb4f35ce781231960c498ba3b8
183+ when :
184+ - ansible_architecture == "armv7l"
185+ - not jdk25_installed.stat.exists
186+ tags : build_tools
187+
188+ - name : Decompress jdk25/arm32
189+ unarchive :
190+ src : /dev/shm/OpenJDK25U.arm32_linux.25+36.tar.gz
191+ dest : /usr/lib/jvm
192+ remote_src : yes
193+ when :
194+ - ansible_architecture == "armv7l"
195+ - not jdk25_installed.stat.exists
196+ tags : build_tools
197+
198+ - name : Create jdk25 symlink on arm32
199+ file :
200+ src : /usr/lib/jvm/jdk-25+36
201+ dest : /usr/lib/jvm/jdk25
202+ state : link
203+ when :
204+ - ansible_architecture == "armv7l"
205+ - not jdk25_installed.stat.exists
206+ tags : adoptopenjdk_install
207+
169208- name : Set default java version for ppc64le
170209 alternatives :
171210 name : java
You can’t perform that action at this time.
0 commit comments