1
0
IaC/ansible/roles/nut_server/templates/ups.conf.j2
2024-01-11 18:15:16 +13:00

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 %}