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

Merge pull request #334 from georgejhunt/redhat

test for existence of stat
This commit is contained in:
georgejhunt 2017-09-28 08:59:37 -07:00 committed by GitHub
commit 271d67c2c0

View file

@ -6,7 +6,7 @@
- name: Setting ifcfg-WAN True
set_fact:
has_WAN: True
when: has_ifcfg_WAN.stat.exists
when: has_ifcfg_WAN.stat is defined and has_ifcfg_WAN.stat.exists
# DETECT -- gateway and wireless
- name: Get a list of slaves from previous config - Can Fail