diff --git a/roles/raspberrypi/tasks/prereq/Ubuntu.yml b/roles/raspberrypi/tasks/prereq/Ubuntu.yml index ea0f4fe..0f3919c 100644 --- a/roles/raspberrypi/tasks/prereq/Ubuntu.yml +++ b/roles/raspberrypi/tasks/prereq/Ubuntu.yml @@ -1,6 +1,6 @@ --- - name: Enable cgroup via boot commandline if not already enabled - when: lookup('fileglob', '/boot/firmware/cmdline.txt', errors='warn') | length == 0 + when: lookup('fileglob', '/boot/firmware/cmdline.txt', errors='warn') | length > 0 ansible.builtin.lineinfile: path: /boot/firmware/cmdline.txt backrefs: true