From 4986aef070ba693def9975f27c12f6d2b3dea1f7 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 8 Oct 2018 17:51:15 -0400 Subject: [PATCH] Update detected_redhat.yml --- roles/network/tasks/detected_redhat.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network/tasks/detected_redhat.yml b/roles/network/tasks/detected_redhat.yml index 0936e1f91..6c5ad422f 100644 --- a/roles/network/tasks/detected_redhat.yml +++ b/roles/network/tasks/detected_redhat.yml @@ -31,7 +31,7 @@ has_ifcfg_gw: "{{ item|trim }}" when: ifcfg_gw_device.stdout_lines is defined and item|trim != "" and item|trim != "/etc/sysconfig/network-scripts/ifcfg-LAN" with_items: - - "{{ ifcfg_gw_device.stdout_lines }}" + - "{{ ifcfg_gw_device.stdout_lines }}" ignore_errors: True # returns path @@ -59,7 +59,7 @@ has_wifi_gw: "{{ item|trim }}" when: ifcfg_WAN_wifi.changed and item|trim != "" with_items: - - "{{ ifcfg_WAN_wifi.stdout_lines }}" + - "{{ ifcfg_WAN_wifi.stdout_lines }}" - name: Finding device for WiFi AP gateway - Can Fail shell: egrep -rn DEVICE /etc/sysconfig/network-scripts/{{ has_wifi_gw }} | gawk -F '=' '{print $2}'