Add kernel modules required by cilium (#1377)

According to the errors in the logs, cillium also requires the following modules
- iptable_mangle
- iptable_raw
- xt_socket
This commit is contained in:
Petr Řehoř authored and GitHub committed 2024-03-19 08:45:52 -04:00
1 parent 8610430e95
commit 92e8d7212f
1 file changed
+1 -1
@@ -86,7 +86,7 @@
dest: "/etc/modules-load.d/{{ item }}.conf" dest: "/etc/modules-load.d/{{ item }}.conf"
mode: "0644" mode: "0644"
content: "{{ item }}" content: "{{ item }}"
loop: ["br_netfilter", "ceph", "ip_vs", "ip_vs_rr", "nbd", "overlay", "rbd"] loop: ["br_netfilter", "ceph", "ip_vs", "ip_vs_rr", "iptable_mangle", "iptable_raw", "nbd", "overlay", "rbd", "xt_socket"]
register: modules_status register: modules_status
- name: System Configuration | Reload Kernel modules # noqa: no-changed-when no-handler - name: System Configuration | Reload Kernel modules # noqa: no-changed-when no-handler
when: modules_status.changed when: modules_status.changed