--- - name: configure firmware lineinfile: path: /boot/firmware/config.txt regexp: '^upstream_kernel=' line: 'upstream_kernel=1' owner: root group: root mode: '0755' become: yes - name: configure fstab to mount log in RAM lineinfile: path: /etc/fstab regexp: '^tmpfs /var/log' line: 'tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0' become: yes - name: configure fstab to mount tmp in RAM lineinfile: path: /etc/fstab regexp: '^tmpfs /tmp' line: 'tmpfs /tmp tmpfs defaults,noatime,mode=0755 0 0' become: yes #tune2fs -O "^has_journal" /dev/mmcblk* #noatime,barrier=0,commit=60