Ansible_workstation/roles/nut/templates/ups.conf.j2

8 lines
130 B
Django/Jinja

maxretry = 3
{% for ups in upss %}
[{{ ups.name }}]
driver = {{ ups.driver }}
port = {{ ups.port }}
{% endfor %}