Files
configpolicy/roles/nut/templates/ups.conf.j2
Dustin C. Hatch 4beade5465 r/nut: Add role for Network UPS Tools
The *nut* role installs and configures Network UPS Tools.
2021-10-31 14:25:59 -05:00

9 lines
193 B
Django/Jinja

{% for name, settings in nut_ups.items() %}
[{{ name }}]
{% for setting in settings %}
{% for key, value in setting|dictsort %}
{{ key }} = "{{ value }}"
{% endfor %}
{% endfor %}
{% endfor %}