mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Add missing RHEL 10 kernel module (#431)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user