20 lines
491 B
Django/Jinja
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 %}
|