enable uart (but not necessarily the console)

local
Glenn K. Lockwood 6 years ago
parent c2c4b4cb1e
commit 8b859b877c
  1. 8
      roles/common/tasks/hardware.yml
  2. 1
      roles/common/tasks/main.yml

@ -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…
Cancel
Save