1
0
Fork 0
mirror of synced 2024-11-22 16:55:36 -05:00
formula-sudoers/sudoers/templates/sudoers.jinja

8 lines
263 B
Text
Raw Normal View History

2019-04-24 11:23:04 -04:00
{%- if config.command is iterable and config.command is not string -%}
2019-04-24 05:03:27 -04:00
{% for command in config.command -%}
{{ for_user }} {{ config.privileges }}: {{ command }}
{% endfor %}
2019-04-24 11:23:04 -04:00
{%- else -%}
{{ for_user }} {{ config.privileges }}: {{ config.command }}
2019-04-24 05:03:27 -04:00
{%- endif -%}