Enable skipping bootcmd verification in Raspberry PI (#300)

* Enable skipping bootcmd verification in Raspberry PI

Signed-off-by: Jose Luis Pedrosa <jlpedrosa@gmail.com>
Co-authored-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Jose Luis Pedrosa 2024-03-04 18:10:01 +00:00 committed by GitHub
parent 9c8ba5c155
commit 1e266a52f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
---
- name: Enable cgroup via boot commandline if not already enabled
when: lookup('fileglob', '/boot/firmware/cmdline.txt', errors='warn') | length == 0
ansible.builtin.lineinfile:
path: /boot/firmware/cmdline.txt
backrefs: true