ansible-role-nut/templates/ups.conf.j2

9 lines
199 B
Plaintext
Raw Permalink Normal View History

2024-02-24 15:12:58 +00:00
{% for ups in nut_ups %}
[{{ ups.name }}]
driver = {{ ups.driver }}
port = {{ ups.device }}
desc = "{{ ups.description }}"
{{ ups.extra | default('') | indent(4) }}
{% endfor %}