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:
parent
3ea42563d1
commit
2226dc4422
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue