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

7 lines
196 B
Plaintext
Raw Normal View History

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