1
0
IaC/ansible/roles/nut_server/templates/ups.conf.j2

13 lines
261 B
Plaintext
Raw Permalink Normal View History

2024-01-11 00:15:16 -05:00
# 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 }}]
2024-01-09 08:05:03 -05:00
driver = {{ ups.driver }}
port = {{ ups.port }}
2024-01-11 00:15:16 -05:00
{% endfor %}