From 8d188f2e17d78248a71b8be9b109ba1e36fc94ed Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Fri, 5 Jun 2020 10:39:05 -0400 Subject: [PATCH] fix the case on grep as it matters --- roles/base/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index fc9a89ceaa..17d2a11aed 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -78,7 +78,7 @@ - ifcfg - name: get interface uuid - shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br|^em|^eno|^enp' + shell: nmcli -f "DEVICE,UUID" c show --active | grep -E '^eth|^br|^em|^eno|^enP' register: if_uuid changed_when: false failed_when: 'if_uuid.stdout == ""'