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