mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
fix WAN detection in /etc/network/interfaces
This commit is contained in:
parent
fef93996b1
commit
3baa790b6e
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
- name: Setting wan_in_interfaces
|
||||
set_fact:
|
||||
wan_in_interfaces: True
|
||||
when: is_debuntu and wan_file.stdout|int >= "0"
|
||||
when: is_debuntu and (wan_file.stdout|int > 0)
|
||||
|
||||
# WIRELESS -- if any wireless is detected as gateway, it becomes WAN
|
||||
- name: Look for any wireless interfaces
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue