Make nut ups monitoring work
This commit is contained in:
12
roles/ups/templates/upsd.users.j2
Normal file
12
roles/ups/templates/upsd.users.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# /etc/nut/upsd.users
|
||||
|
||||
[master]
|
||||
password = {{ ups_master_pw }}
|
||||
upsmon master
|
||||
{% if ups_slave_pw -%}
|
||||
[slave]
|
||||
password = {{ ups_slave_pw }}
|
||||
upsmon slave
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user