Skip to content

Commit 8b3845f

Browse files
authored
Add missing RHEL 10 kernel module (#431)
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 parent c239874 commit 8b3845f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

roles/prereq/tasks/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
name: policycoreutils # Used by install script to restore SELinux context
1212
update_cache: "{{ airgap_dir is not defined }}"
1313

14+
- name: Install Dependent RHEL 10 Package
15+
when: ansible_distribution in ['RedHat'] and ansible_distribution_major_version == "10"
16+
ansible.builtin.dnf:
17+
name: kernel-modules-extra # Load br_netfilter module
18+
update_cache: "{{ airgap_dir is not defined }}"
19+
1420
- name: Enable IPv4 forwarding
1521
ansible.posix.sysctl:
1622
name: net.ipv4.ip_forward

0 commit comments

Comments
 (0)