Fixed Ansible for controller

This commit is contained in:
Miha Frangež 2025-09-11 17:11:02 +02:00
parent c2d277663f
commit 64a10b0512
10 changed files with 1096 additions and 216 deletions

View file

@ -0,0 +1,38 @@
[global]
room = "{{ room }}"
mqttHost = "{{ mqtt_ip }}"
mqttPort = {{ mqtt_port }}
{% if barco_G62 is defined %}
{%+ for projector in barco_G62 +%}
[{{projector.model}}.{{projector.position}}]
ip = "{{projector.ip}}"
port = {{projector.port}}
{% endfor %}
{% endif %}
{%+ if tse_box is defined +%}
{# serial_device = "{{ tse_box.serial_device }}" #}
{% endif %}
{%+ if projector_motors is defined +%} {# change to appropriate thingy for running them #}
{%+ for motor in projector_motors +%}
[projector_motors.{{motor.position}}]
i2c_address = {{motor.i2c_address}}
{% endfor %}
{% endif %}
{%+ if extron_audio is defined +%}
{% endif %}
{%+ if extron_video is defined +%}
{% endif %}
{%+ if lucke is defined +%}
[lucke]
url = "{{ lucke.url }}"
roomId = "{{ lucke.roomId }}"
bearer_token = "{{ lucke.bearer_token }}"
{% endif %}