From 41033ba949a4efd47fe6a8aca833bc936ad80ddf Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Thu, 9 Nov 2017 12:21:57 -0600 Subject: [PATCH] br0 - single interface mis-detection --- roles/network/tasks/detected_network.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/network/tasks/detected_network.yml b/roles/network/tasks/detected_network.yml index 6848199dc..29b0bd73d 100644 --- a/roles/network/tasks/detected_network.yml +++ b/roles/network/tasks/detected_network.yml @@ -144,12 +144,12 @@ - name: 2 or more devices on the LAN - use bridging set_fact: iiab_lan_iface: br0 - when: num_lan_interfaces >= 2 and not is_rpi + when: num_lan_interfaces|int >= 2 and not is_rpi - name: For Debian, always use bridging - except RPi set_fact: iiab_lan_iface: br0 - when: num_lan_interfaces >= 1 and is_debuntu and not is_rpi + when: num_lan_interfaces|int >= 1 and is_debuntu and not is_rpi - name: WiFi is on the LAN - use bridging - except RPi set_fact: