This role helps to setup the kernel cmdline on Raspberry Pi.
Tested OS images
Available on Ansible Galaxy: jm1.rpi_cmdline
None.
Name | Default value | Required | Description |
---|---|---|---|
cmdline |
net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc |
no | Content written to /boot/firmware/cmdline.txt |
None.
- hosts: all
roles:
- name: Setup the kernel cmdline on Raspberry Pi
role: jm1.rpi_cmdline
tags: ["jm1.rpi_cmdline"]
For instructions on how to run Ansible playbooks have look at Ansible's Getting Started Guide.
GNU General Public License v3.0 or later
See LICENSE.md to see the full text.