/
/
/
Ansible role that deploys my edge device with connectivity containers. Currently it deploys a thread border router via the zbt-1 dongle by Home Assistant, a zigbee2MQTT interface using the Sonoff zigbee dongle and a DSMR reader with a generic P1 to USB converter.
1{% for dev in udev_rules %}
2SUBSYSTEM=="tty", \
3 ATTRS{idVendor}=="{{ dev.id_vendor | lower }}", \
4 ATTRS{idProduct}=="{{ dev.id_product | lower }}", \
5 SYMLINK+="{{ dev.name }}"
6{% endfor %}
7