1
0
Fork 0
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:
Jerry Vonau 2019-07-06 22:59:12 -05:00
parent fef93996b1
commit 3baa790b6e

View file

@ -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