We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd7a223 commit f1b7c57Copy full SHA for f1b7c57
templates/sudoers.j2
@@ -5,11 +5,15 @@
5
{% for alias_item in item.aliases[alias_dict] %}
6
{{ alias_str }} {{ alias_item.name }} = {{ alias_item[alias_subdict_name] | join(", ") }}
7
{% endfor %}
8
+{% else %}
9
+{{- '' -}}
10
{% endif %}
11
{%- endmacro -%}
12
{%- macro render_override_spec(spec,spec_type, spec_dict, sign) %}
13
{% if spec.type == spec_type %}
14
Defaults{{ sign }} {{ spec[spec_dict] | join(", ") }} {{ spec.defaults | join(", ") }}
15
16
17
18
19
{{ ansible_managed | default('Ansible managed') | comment }}
0 commit comments