ansible-role-nut/templates/ups.conf.j2
2024-02-24 16:12:58 +01:00

9 lines
199 B
Django/Jinja

{% for ups in nut_ups %}
[{{ ups.name }}]
driver = {{ ups.driver }}
port = {{ ups.device }}
desc = "{{ ups.description }}"
{{ ups.extra | default('') | indent(4) }}
{% endfor %}