yavdr-ansible/roles/serial-ir/templates/serial.conf.j2
2019-01-02 12:08:37 +01:00

10 lines
221 B
Django/Jinja

{{ ansible_managed | comment }}
{% if serial_ir_device == "ttyS0" %}
#COM1 equivalent, /dev/ttyS0
/dev/ttyS0 uart none
{% elif serial_ir_device == "ttyS1" %}
#COM2 equivalent, /dev/ttyS1
/dev/ttyS1 uart none
{% endif %}