diff --git a/README.md b/README.md index b43bd22..fcca317 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/roles/prereq/tasks/main.yml b/roles/prereq/tasks/main.yml index 57c9e8e..10326e8 100644 --- a/roles/prereq/tasks/main.yml +++ b/roles/prereq/tasks/main.yml @@ -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