Feature/oracle linux11 (#532)

* fix: handle Oracle Linux UEK kernel package name for br_netfilter

Oracle Linux uses the Unbreakable Enterprise Kernel (UEK) instead of the
standard RHEL kernel. The `kernel-modules-extra` package does not exist
on Oracle Linux — the equivalent is `kernel-uek-modules-extra`.

Without this fix, the prereq role fails on Oracle Linux 10 with:
  "No package kernel-modules-extra available."

Signed-off-by: Helmut Wolf <3902045+shadow1runner@users.noreply.github.com>

* chore: update README to include Oracle Linux

Signed-off-by: Helmut Wolf <3902045+shadow1runner@users.noreply.github.com>

---------

Signed-off-by: Helmut Wolf <3902045+shadow1runner@users.noreply.github.com>
Co-authored-by: Helmut Wolf <3902045+shadow1runner@users.noreply.github.com>
This commit is contained in:
shadow1runner
2026-05-27 23:44:06 +02:00
committed by GitHub
parent 26245771fd
commit d1aab4d8b8
2 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Easily bring up a cluster on machines running:
- [X] Debian
- [X] Ubuntu
- [X] Raspberry Pi OS
- [X] RHEL Family (CentOS, Redhat, Rocky Linux...)
- [X] RHEL Family (CentOS, Redhat, Rocky Linux, Oracle Linux...)
- [X] SUSE Family (SLES, OpenSUSE Leap, Tumbleweed...)
- [X] ArchLinux
+12 -1
View File
@@ -12,11 +12,22 @@
update_cache: "{{ airgap_dir is not defined }}"
- name: Install Dependent RHEL 10 Package
when: ansible_facts['os_family'] == 'RedHat' and ansible_facts['distribution_major_version'] == "10"
when:
- ansible_facts['os_family'] == 'RedHat'
- ansible_facts['distribution_major_version'] == "10"
- ansible_facts['distribution'] != 'OracleLinux'
ansible.builtin.dnf:
name: kernel-modules-extra # Load br_netfilter module
update_cache: "{{ airgap_dir is not defined }}"
- name: Install Dependent Oracle Linux 10 Package
when:
- ansible_facts['distribution'] == 'OracleLinux'
- ansible_facts['distribution_major_version'] == "10"
ansible.builtin.dnf:
name: kernel-uek-modules-extra # Load br_netfilter module (UEK kernel)
update_cache: "{{ airgap_dir is not defined }}"
- name: Enable IPv4 forwarding
ansible.posix.sysctl:
name: net.ipv4.ip_forward