gantsign / ansible-role-java

Ansible role for installing Java from Adoptium

Home Page:https://galaxy.ansible.com/gantsign/java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Java NOT support AARCH64(ARM64)

prowessandy opened this issue · comments

Hi authors,

As we are adopting AWS m6g instances instead of the traditional m5 ones, we have to run the deployment pipeline in Ansible with all ARM64/AARCH64 supported roles. Currently, our JAVA(Adoptopenjdk) right fails at this role stating it doesn't support Aarch64. Any possibility to carry this through or add it to your development roadmap? Thanks so much!

Hi @prowessandy, the role does actually have undocumented support for aarch64, just add java_arch: aarch64 as an Ansible variable for the role.

You're actually the first person to request aarch64 support. When I get time I'll add architecture auto-detection and a test for aarch64.

Hi @freemanjp, thanks for getting back to me. We've tested the role in our pipeline with Ansible, which gave the explicit error that 'aarch64 is not supported.'

We have been using this beautiful role for years, no problem. But as the powerful yet cheaper m6g EC2 class went GA, we'll have to follow the business decision to introduce new customers onto m6g. The main blocker is exactly the JAVA installation. Appreciate your effort to help make it happen ASAP :)

Hi @freemanjp

Trust you are doing well. Do you have any update or plan for my request above?
We don't want to push the envelope, but we would appreciate it if you could give us some general idea so that we can plan our pipeline implementation accordingly. Thanks, and all the best!

Andy

Hi @prowessandy, sorry for the delay. Support for AArch64 is now included in version 11.1.0 of this role.

I don't know where the error "aarch64 is not supported" originated from, so I'm not sure this change will solve the error you're seeing. This role now includes tests that verify it works on AArch64 (#306). The problem may be somewhere else in your stack.