1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

test for existence of stat

This commit is contained in:
George Hunt 2017-09-27 16:10:22 -07:00
parent 3ea42563d1
commit 2226dc4422

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