feat(macro): to use in several state

This commit is contained in:
Alkivi
2019-04-24 11:03:27 +02:00
parent 00480b992c
commit 70e66c97be
2 changed files with 29 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{%- if config.command is string -%}
{{ for_user }} {{ config.privileges }}: {{ config.command }}
{%- else -%}
{% for command in config.command -%}
{{ for_user }} {{ config.privileges }}: {{ command }}
{% endfor %}
{%- endif -%}