From c33354fcd5cbac03da06741284d2b64b3bdfd258 Mon Sep 17 00:00:00 2001 From: James Tait Date: Thu, 15 Feb 2024 13:04:08 +0000 Subject: [PATCH] Update the location of `cmdline.txt`. In more recent versions of RaspiOS based on Debian 12.5 Bookworm, the location of `cmdline.txt` has changed: the original file still exists, but with a warning not to edit it, and directing the user to the new location. --- main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.yml b/main.yml index 967323e..a016376 100644 --- a/main.yml +++ b/main.yml @@ -19,7 +19,7 @@ tasks: - name: Ensure cgroups are configured correctly in cmdline.txt. ansible.builtin.replace: - path: /boot/cmdline.txt + path: /boot/firmware/cmdline.txt regexp: '^([\w](?!.*\b{{ item }}\b).*)$' replace: '\1 {{ item }}' with_items: