From c3b674526da9d77a8a459c25cd6ca51936e78ba2 Mon Sep 17 00:00:00 2001 From: Andrei Costescu Date: Thu, 21 Dec 2023 16:16:34 +0100 Subject: [PATCH] Fix modprobe module on Flatcar (#10678) * Fix modprobe module on Flatcar * Add todo about upstream issue report --- roles/kubernetes/node/tasks/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/kubernetes/node/tasks/main.yml b/roles/kubernetes/node/tasks/main.yml index bb3d4238c..9e15b16d9 100644 --- a/roles/kubernetes/node/tasks/main.yml +++ b/roles/kubernetes/node/tasks/main.yml @@ -68,11 +68,16 @@ changed_when: false check_mode: no +# TODO: Remove once upstream issue is fixed +# https://github.com/ansible-collections/community.general/issues/7717 - name: Verify br_netfilter module path exists file: - path: /etc/modules-load.d + path: "{{ item }}" state: directory mode: 0755 + loop: + - /etc/modules-load.d + - /etc/modprobe.d - name: Enable br_netfilter module community.general.modprobe: