ansible-pilote/templates/serial2mqtt/serial2mqtt.ini.j2
Julien Riou 096a3e0540
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-04-27 15:21:55 +02:00

12 lines
361 B
Django/Jinja

{{ ansible_managed | comment }}
[mqtt]
host = {{ serial2mqtt_host | default('localhost') }}
port = {{ serial2mqtt_port | default(1883) }}
client_id = serial2mqtt
topic_prefix = {{ serial2mqtt_topic_prefix }}
username = {{ serial2mqtt_username }}
password = {{ serial2mqtt_password }}
[serial]
interface = {{ serial2mqtt_interface | default('/dev/ttyACM0') }}