ansible-role-java icon indicating copy to clipboard operation
ansible-role-java copied to clipboard

Binaries not replaced with architecture change

Open MatrixCrawler opened this issue 1 year ago • 0 comments

Following Situation:

We have multiple x86_64 instances with java installed by this role. Now we are considering changing the architecture of the existing instances to ARM and we realized that the java binaries are not replaced. The role see's the binaries and does not reflect the architecture change that would make it necessary to replace them as they cannot be executed on an ARM Architecture.

Maybe you could store a fact for the installed architecture model and if the ansible_architecture actually differs from the fact, replace the binaries?

MatrixCrawler avatar Oct 25 '23 10:10 MatrixCrawler