From 71d6ba05809da8fa92a90470dea5be2f539d7f0f Mon Sep 17 00:00:00 2001 From: haseHH Date: Thu, 11 Jul 2024 19:18:06 +0200 Subject: [PATCH] Don't install linux-modules-extra-raspi on Ubuntu 24.04 and up (#346) The extra modules were merged into the normal modules packet as of Kernel 6.8/Ubuntu 24.04 Signed-off-by: haseHH --- roles/raspberrypi/tasks/prereq/Ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/raspberrypi/tasks/prereq/Ubuntu.yml b/roles/raspberrypi/tasks/prereq/Ubuntu.yml index 0f3919c52..71cc24b58 100644 --- a/roles/raspberrypi/tasks/prereq/Ubuntu.yml +++ b/roles/raspberrypi/tasks/prereq/Ubuntu.yml @@ -15,4 +15,4 @@ name: linux-modules-extra-raspi update_cache: true state: present - when: "ansible_distribution_version is version('20.10', '>=')" + when: "ansible_distribution_version is version('20.10', '>=') and ansible_distribution_version is version('24.04', '<')"