mirror of
https://github.com/ruanbekker/rpi-ansible.git
synced 2025-04-20 17:21:44 +02:00
enable uart (but not necessarily the console)
This commit is contained in:
parent
c2c4b4cb1e
commit
8b859b877c
8
roles/common/tasks/hardware.yml
Normal file
8
roles/common/tasks/hardware.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: enable uart on boot
|
||||||
|
lineinfile:
|
||||||
|
dest=/boot/config.txt
|
||||||
|
regexp="^enable_uart="
|
||||||
|
line="enable_uart=1"
|
||||||
|
state=present
|
@ -41,3 +41,4 @@
|
|||||||
# Other tasks
|
# Other tasks
|
||||||
- include: software.yml
|
- include: software.yml
|
||||||
- include: users.yml
|
- include: users.yml
|
||||||
|
- include: hardware.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user