Add missing RHEL 10 kernel module (#431)

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola
2025-08-20 08:58:55 -07:00
committed by GitHub
parent c239874136
commit 8b3845f9a4

View File

@@ -11,6 +11,12 @@
name: policycoreutils # Used by install script to restore SELinux context name: policycoreutils # Used by install script to restore SELinux context
update_cache: "{{ airgap_dir is not defined }}" update_cache: "{{ airgap_dir is not defined }}"
- name: Install Dependent RHEL 10 Package
when: ansible_distribution in ['RedHat'] and ansible_distribution_major_version == "10"
ansible.builtin.dnf:
name: kernel-modules-extra # Load br_netfilter module
update_cache: "{{ airgap_dir is not defined }}"
- name: Enable IPv4 forwarding - name: Enable IPv4 forwarding
ansible.posix.sysctl: ansible.posix.sysctl:
name: net.ipv4.ip_forward name: net.ipv4.ip_forward