From 12db5ef1f1b32b9bee17f691c92dbee268e174bf Mon Sep 17 00:00:00 2001 From: Nikoleta Verbeck Date: Tue, 7 Nov 2023 10:55:02 -0700 Subject: [PATCH] Fixes related to K3s Issue https://github.com/k3s-io/k3s/issues/4234 (#204) Signed-off-by: Nikoleta Verbeck Co-authored-by: Nikoleta Verbeck --- roles/raspberrypi/tasks/prereq/Ubuntu.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/raspberrypi/tasks/prereq/Ubuntu.yml b/roles/raspberrypi/tasks/prereq/Ubuntu.yml index 742fc2177..b5320e35a 100644 --- a/roles/raspberrypi/tasks/prereq/Ubuntu.yml +++ b/roles/raspberrypi/tasks/prereq/Ubuntu.yml @@ -6,3 +6,10 @@ regexp: '^((?!.*\bcgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory\b).*)$' line: '\1 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory' notify: reboot +- name: Install Ubuntu Raspi Extra Packages + apt: + name: + - linux-modules-extra-raspi #Fixes issues in newer Ubuntu where VXLan isn't setup right. See: https://github.com/k3s-io/k3s/issues/4234 + update_cache: yes + state: present + when: "ansible_distribution_version is version('20.10', '>=')" \ No newline at end of file