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/ups.conf.j2
Normal file
8
roles/nut/templates/ups.conf.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
{% for name, settings in nut_ups.items() %}
|
||||
[{{ name }}]
|
||||
{% for setting in settings %}
|
||||
{% for key, value in setting|dictsort %}
|
||||
{{ key }} = "{{ value }}"
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user