nut and acme working
This commit is contained in:
@ -1,5 +1,12 @@
|
||||
{% for ups in ups_devices %}
|
||||
[ups{{ loop.index }}]
|
||||
# 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 %}
|
||||
{% endfor %}
|
||||
|
||||
|
Reference in New Issue
Block a user