Skip to content

Ansible role to setup the kernel cmdline on Raspberry Pi

License

Notifications You must be signed in to change notification settings

JM1/ansible-role-jm1-rpi-cmdline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role jm1.rpi_cmdline

This role helps to setup the kernel cmdline on Raspberry Pi.

Tested OS images

Available on Ansible Galaxy: jm1.rpi_cmdline

Requirements

None.

Variables

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

Dependencies

None.

Example Playbook

- 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.

License

GNU General Public License v3.0 or later

See LICENSE.md to see the full text.

Author

Jakob Meng @jm1 (github, galaxy, web)

About

Ansible role to setup the kernel cmdline on Raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks