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

Merge pull request #451 from georgejhunt/ansiblebug

work around for bug
This commit is contained in:
georgejhunt 2017-10-23 10:26:42 -04:00 committed by GitHub
commit fe41f4caf4

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