ansible-role-systemd_networkd/templates/systemd-netdev.j2
Logan V b9b135ab9a Allow networkd filename override
- Allow configuring the default filename format
- Allow configuring a filename override on a per netdev/network
  basis.

Change-Id: I801fe5604d543ae36daf5bd1764ef1035644ea44
2018-03-19 14:54:35 -05:00

13 lines
258 B
Django/Jinja

# {{ ansible_managed }}
{% set _ignored_sections = ['filename'] %}
{% for key, values in item.1.items() %}
{% if key not in _ignored_sections %}
[{{ key }}]
{% for k, v in values.items() %}
{{ k }}={{ v }}
{% endfor %}
{% endif %}
{% endfor %}