xoxys.sudo/templates/etc/sudoers.d/sudo_ext.j2
Robert Kaussow 7a7ab16b4e
Some checks failed
continuous-integration/drone/push Build is failing
initial commit
2019-11-03 22:40:04 +01:00

20 lines
491 B
Django/Jinja

#jinja2: lstrip_blocks: True
{{ ansible_managed | comment }}
{% if item.user_aliases is defined %}
{% for user in item.user_aliases %}
User_Alias {{ user.name | upper }} = {{ user.value | join(', ') }}
{% endfor %}
{% endif %}
{% if item.cmnd_aliases is defined %}
{% for cmnd in item.cmnd_aliases %}
Cmnd_Alias {{ cmnd.name | upper }} = {{ cmnd.value | join(', ') }}
{% endfor %}
{% endif %}
{% if item.specs is defined %}
{% for spec in item.specs %}
{{ spec }}
{% endfor %}
{% endif %}