13 lines
261 B
Django/Jinja
13 lines
261 B
Django/Jinja
# File configured via Ansible playbook
|
|
# Reference documentation:
|
|
# https://networkupstools.org/docs/man/ups.conf.html
|
|
|
|
maxretry = 5
|
|
|
|
{% for ups in nut_server_ups_devices %}
|
|
[{{ ups.name }}]
|
|
driver = {{ ups.driver }}
|
|
port = {{ ups.port }}
|
|
{% endfor %}
|
|
|