xoxys.network/templates/etc/sysconfig/network-scrips/ifcfg.j2
2017-05-18 23:10:07 +02:00

7 lines
186 B
Django/Jinja

#jinja2: trim_blocks: True, lstrip_blocks: True
# {{ ansible_managed }}
DEVICE="{{ item.key }}"
{%+ for key, value in item.value.items() -%}
{{ key|upper }}="{{ value }}"
{% endfor %}