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

accommodate RHEL & CentOS 9

Open jamiejackson opened this issue 1 year ago • 4 comments

jamiejackson avatar Jun 25 '24 23:06 jamiejackson

Woah... why would you need to install so many versions of the SDK?

geerlingguy avatar Jun 26 '24 00:06 geerlingguy

Ah, I thought it was a list of valid options. How do you decide which single default version to pair with an OS/version?

jamiejackson avatar Jun 26 '24 00:06 jamiejackson

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).

geerlingguy avatar Jun 26 '24 01:06 geerlingguy

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.

jamiejackson avatar Jun 26 '24 21:06 jamiejackson