With a view on the future, we should move away from openjdk flags and replace it with a java_version= ie an enum or ansible equivalent of 8, 11, 17, 21, 25, etc. We should also probably enumerate the jvm distribution as well, ie java_distro= openjdk, azul, adoptium, corretto, etc, even though openjdk is the only one supported right now.
With a view on the future, we should move away from openjdk flags and replace it with a java_version= ie an enum or ansible equivalent of 8, 11, 17, 21, 25, etc. We should also probably enumerate the jvm distribution as well, ie java_distro= openjdk, azul, adoptium, corretto, etc, even though openjdk is the only one supported right now.