Modernize role: drop Oracle/x86, use DNF, clean up config#2
Open
sdickenson wants to merge 2 commits intomasterfrom
Open
Modernize role: drop Oracle/x86, use DNF, clean up config#2sdickenson wants to merge 2 commits intomasterfrom
sdickenson wants to merge 2 commits intomasterfrom
Conversation
- Remove 32-bit (x86) Java install support - Remove Oracle JDK/JRE provider support - Remove unnecessary config management (ldconfig, java.conf, profile.d) - Remove javapackages-tools dependency - Switch from yum to ansible.builtin.dnf module - Use FQCNs throughout, replace deprecated state: installed - Replace community.general.alternatives with ansible.builtin.command - Add java_install_jre variable to make JRE install optional - Remove disable_excludes from package tasks - Consolidate tasks into main.yml - Update supported platforms to EL 8/9/10 and Amazon Linux 2/2023 - Bump min_ansible_version to 2.10 - Update README with current variables and examples Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds java_configure_corretto_repo variable to import the Corretto GPG key and configure the yum/dnf repository before package installation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ansible.builtin.dnf,ansible.builtin.commandfor alternativesjava_install_jrevariable so both JRE and JDK installs are independently optional (supports Corretto 1.8.0 on EL10 where only-develpackages exist)Test plan
java_install_jre: Falseandjava_install_devel: Truejava_set_default_version: Truesets alternatives correctly🤖 Generated with Claude Code