ansible-role-java
ansible-role-java copied to clipboard
accommodate RHEL & CentOS 9
Woah... why would you need to install so many versions of the SDK?
Ah, I thought it was a list of valid options. How do you decide which single default version to pair with an OS/version?
I usually set it to whatever is the base LTS version for that OS in the default repository. Users can override the variable if they want a newer version (and it's available).
This PR is/was misguided. However, as far as I can tell, the OS would install java-11-openjdk if you were to dnf install java.
On the other hand, I wouldn't have bothered to open a PR just to downgrade the default java, so feel free to close.