main
Ricard Illa 2022-09-20 15:02:53 +02:00
parent a4c37ed587
commit f266ceb3d6
3 changed files with 19 additions and 0 deletions

View File

@ -28,6 +28,14 @@
roles:
- mounts
- name: usercfg
hosts:
- suricata
become: true
roles:
- usercfg
tags: test
- name: pi_fan_hwpwm
hosts:
- suricata

View File

@ -40,6 +40,9 @@ all:
fstype: "none"
opts: "bind"
passno: "0"
rpi_cfg:
- "enable_uart=1"
- "otg_mode=1"
caladan:
ansible_host: caladan

View File

@ -0,0 +1,8 @@
---
- name: configure usercfg.txt
lineinfile:
path: /media/mmcblk0p1/usercfg.txt
line: "{{ item }}"
state: present
loop: "{{ rpi_cfg }}"