1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

work around for bug

This commit is contained in:
George Hunt 2017-10-23 02:29:22 -07:00
parent f2bef46d9f
commit 1408d9f4eb

View file

@ -44,7 +44,7 @@
- name: Set has ifcfg gw based on on macaddress if found
set_fact:
has_ifcfg_gw: "{{ ifcfg_gw_mac.stdout|trim }}"
when: ifcfg_gw_mac.changed and ifcfg_gw_mac.stdout != ""
when: ifcfg_gw_mac is defined and ifcfg_gw_mac.changed and ifcfg_gw_mac.stdout != ""
# could use something else
- name: Find wifi gateway config if present - Can Fail