r/nut: Add role for Network UPS Tools
The *nut* role installs and configures Network UPS Tools.
This commit is contained in:
8
roles/nut/templates/upsd.users.j2
Normal file
8
roles/nut/templates/upsd.users.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
{% for username, settings in nut_users.items() %}
|
||||
[{{ username }}]
|
||||
{% for setting in settings %}
|
||||
{% for key, value in setting|dictsort %}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user