diff --git a/roles/network/tasks/debian.yml b/roles/network/tasks/debian.yml index 230de8432..74ca452c7 100644 --- a/roles/network/tasks/debian.yml +++ b/roles/network/tasks/debian.yml @@ -41,7 +41,7 @@ template: dest: /etc/network/interfaces.d/iiab src: network/systemd.j2 - when: not is_raspbian (iiab_lan_iface == "br0" or wan_ip != "dhcp" or gui_static_wan_ip == "undefined") + when: not is_raspbian and (iiab_lan_iface == "br0" or wan_ip != "dhcp" or gui_static_wan_ip == "undefined") - name: Copy the bridge script for RPi template: