From 3440a4ace67fadbe33a7a719fb2e46ccd64f9464 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Thu, 19 Sep 2019 21:41:09 +0000 Subject: [PATCH] base: try not using dot accessor notation here? Signed-off-by: Rick Elrod --- roles/base/templates/ifcfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %}