mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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
|
- name: Setting ifcfg-WAN True
|
||||||
set_fact:
|
set_fact:
|
||||||
has_WAN: True
|
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
|
# DETECT -- gateway and wireless
|
||||||
- name: Get a list of slaves from previous config - Can Fail
|
- name: Get a list of slaves from previous config - Can Fail
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue