yavdr-ansible/roles/serial-ir/tasks/main.yml

22 lines
530 B
YAML
Raw Normal View History

---
# file: roles/serial-ir/tasks/main.yml
- name: apt | install setserial
apt:
name: setserial
- name: load serial_ir on startup
template:
2019-01-02 10:22:52 +01:00
src: roles/serial-ir/templates/modules-load.d/serial_ir.conf.j2
dest: /etc/modules-load.d/serial_ir.conf
- name: serial_ir module options
template:
2019-01-02 10:22:52 +01:00
src: roles/serial-ir/templates/modprobe.d/serial_ir.conf.j2
2019-01-02 10:13:18 +01:00
dest: /etc/modprobe.d/serial_ir.conf
- name: setserial options
template:
2019-01-02 10:22:52 +01:00
src: roles/serial-ir/templates/serial.conf.j2
dest: /etc/serial.conf