ansible/roles/mqtt/templates/bambulab.conf
polyfloyd c56ead77b4
Some checks failed
Test / build (push) Failing after 49s
mqtt: Bridge all Bambu printers
2025-05-25 13:37:19 +02:00

11 lines
365 B
Text

# {{ ansible_managed }}
{% for bambu in lookup('passwordstore', 'bambulab subkey=printers') %}
connection bambulab_{{ bambu.name }}
address {{ bambu.host }}:8883
bridge_cafile /etc/mosquitto/ca_certificates/bambu_{{ bambu.name }}.pem
bridge_insecure true
remote_username bblp
remote_password {{ bambu.key }}
topic # in 2 bambulab/{{ bambu.name }}/ ""
{% endfor %}