diff --git a/templates/etc/sysconfig/network-scrips/ifcfg.j2 b/templates/etc/sysconfig/network-scrips/ifcfg.j2 index b343770..ae74597 100644 --- a/templates/etc/sysconfig/network-scrips/ifcfg.j2 +++ b/templates/etc/sysconfig/network-scrips/ifcfg.j2 @@ -1,6 +1,6 @@ #jinja2: lstrip_blocks: True {{ ansible_managed | comment }} -DEVICE="{{ item.key }}" +DEVICE={{ item.key }} {% for key, value in item.value.items() %} {% if key | lower == "dns" and not value is string and value is iterable %} {% for item in value -%}