Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-31 19:42:17 +01:00
parent e12c13f639
commit 1628e1a269

View File

@ -296,21 +296,21 @@
line: '{{ item }}' line: '{{ item }}'
with_items: "{{system.modules}}" with_items: "{{system.modules}}"
- name: change root partition #- name: change root partition
replace: # replace:
dest: /boot/cmdline.txt # dest: /boot/cmdline.txt
backup: no # backup: no
regexp: "root=PARTUUID=[a-zA-Z0-9\\-]+" # regexp: "root=PARTUUID=[a-zA-Z0-9\\-]+"
replace: "root=/dev/mmcblk0p2" # replace: "root=/dev/mmcblk0p2"
- name: configure /boot/cmdline.txt #- name: configure /boot/cmdline.txt
lineinfile: # lineinfile:
path: /boot/cmdline.txt # path: /boot/cmdline.txt
backrefs: True # backrefs: True
state: present # state: present
backup: no # backup: no
regexp: '(.*)$' # regexp: '(.*)$'
line: '\1 modules-load=dwc2,g_ether' # line: '\1 modules-load=dwc2,g_ether'
- name: Add pwnlog alias - name: Add pwnlog alias
lineinfile: lineinfile: