diff --git a/roles/base/templates/ifcfg.j2 b/roles/base/templates/ifcfg.j2 index 0e7ba2b861..7658f72d6b 100644 --- a/roles/base/templates/ifcfg.j2 +++ b/roles/base/templates/ifcfg.j2 @@ -22,7 +22,7 @@ ONBOOT="yes" {% endif %} TYPE="Ethernet" DEVICE="{{item}}" -{% for line in if_uuid.stdout_lines %} +{% for line in if_uuid['stdout_lines'] %} {% if line.split()[0] == item %} UUID="{{ line.split()[1] }}" {% endif %}