15 lines
425 B
Plaintext
15 lines
425 B
Plaintext
{% for username, settings in nut.users %}{% if not loop.first %}
|
|
{% endif -%}
|
|
[{{ username }}]
|
|
password = {{ settings.password | decrypt }}
|
|
{% for action in settings.actions|default(value=[]) -%}
|
|
actions = {{ action }}
|
|
{% endfor -%}
|
|
{% for instcmds in settings.instcmds|default(value=[]) -%}
|
|
instcmds = {{ instcmds }}
|
|
{% endfor -%}
|
|
{% if settings.upsmon is defined -%}
|
|
upsmon {{ settings.upsmon }}
|
|
{% endif -%}
|
|
{% endfor -%}
|