Skip to content

Upgrade Azure CI VM to Ubuntu 26.04 and update Ansible compatibility - #55188

Open
Pepo48 wants to merge 1 commit into
keycloak:mainfrom
Pepo48:issue-55180
Open

Pepo48 wants to merge 1 commit into
keycloak:mainfrom
Pepo48:issue-55180

Conversation

@Pepo48

@Pepo48 Pepo48 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor
  • Use the Ubuntu 26.04 image with Trusted Launch, Secure Boot and vTPM.
  • Replace injected OS facts with ansible_facts lookups.
  • Remove loop variables from Java task names.

Closes #55180

- Use the Ubuntu 26.04 image with Trusted Launch, Secure Boot and vTPM.
- Replace injected OS facts with ansible_facts lookups.
- Remove loop variables from Java task names.

Closes keycloak#55180

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
@Pepo48
Pepo48 requested a review from a team as a code owner November 14, 2026 15:35
Copilot AI lite review requested due to automatic review settings November 14, 2026 15:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Validation depends on an actual Azure deployment to confirm image availability, VM-size compatibility, Trusted Launch settings, and SSH/Ansible provisioning across CI regions.

No open issues 🎉

What changed in this PR

Updates Azure CI VM provisioning to Ubuntu 26.04 LTS and modernizes Ansible compatibility.

Changes:

  • Switches Azure VMs to Ubuntu 26.04 LTS with Trusted Launch, Secure Boot, and vTPM enabled.
  • Replaces deprecated injected OS facts with structured ansible_facts lookups.
  • Removes loop-variable interpolation from Java installation task names.
File Description
.github/​scripts/​ansible/​roles/​mvn_remote_runner/​tasks/​run.yml Uses the structured Ansible OS-family fact when selecting JAVA_HOME.
.github/​scripts/​ansible/​roles/​keycloak_remote_installer/​tasks/​install.yml Updates OS-family checks for modern Ansible compatibility and simplifies looped Java task names.
.github/​scripts/​ansible/​azure_vm_manager.sh Provisions Azure test VMs with the Ubuntu 26.04 LTS image and Trusted Launch security settings.

Review effort: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade the AzureDB IT virtual machine to Ubuntu 26.04 LTS

2 participants