1
0
Fork 0
mirror of synced 2024-11-17 06:35:34 -05:00
formula-sudoers/sudoers/templates/sudoers.jinja
2019-04-24 11:03:27 +02:00

7 lines
228 B
Django/Jinja

{%- if config.command is string -%}
{{ for_user }} {{ config.privileges }}: {{ config.command }}
{%- else -%}
{% for command in config.command -%}
{{ for_user }} {{ config.privileges }}: {{ command }}
{% endfor %}
{%- endif -%}