Make nut ups monitoring work

This commit is contained in:
Daniel A. Maierhofer
2018-03-03 15:36:17 +01:00
parent 2fc852685a
commit 31f238b92a
20 changed files with 154 additions and 102 deletions

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