xoxys.network/templates/etc/sysconfig/network-scrips/ifcfg.j2

7 lines
196 B
Plaintext
Raw Normal View History

2017-05-18 23:10:07 +02:00
#jinja2: trim_blocks: True, lstrip_blocks: True
2019-08-27 22:24:09 +02:00
{{ ansible_managed | comment }}
2017-05-18 23:10:07 +02:00
DEVICE="{{ item.key }}"
{%+ for key, value in item.value.items() -%}
2018-12-07 22:35:58 +01:00
{{ key | upper }}="{{ value }}"
2017-05-18 23:10:07 +02:00
{% endfor %}