1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

Merge pull request #377 from jvonau/more_bs

Sync from jvonau:more_bs
This commit is contained in:
A Holt 2020-02-17 13:05:33 -05:00 committed by GitHub
commit 13da8238f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -91,7 +91,6 @@ systemd_networkd_active: False
# The values here are default local variables # The values here are default local variables
gui_wan_iface: "unset" gui_wan_iface: "unset"
gui_static_wan_ip: "unset" gui_static_wan_ip: "unset"
gui_desired_network_role: Gateway
wondershaper_dspeed: "4096" wondershaper_dspeed: "4096"
wondershaper_upspeed: "1024" wondershaper_upspeed: "1024"

View file

@ -22,4 +22,4 @@
service: service:
name: dnsmasq name: dnsmasq
state: stopped state: stopped
when: dnsmasq_install | bool when: dnsmasq_install | bool and not no_net_restart

View file

@ -74,6 +74,6 @@
systemd: systemd:
name: "{{ dhcp_service2 }}" name: "{{ dhcp_service2 }}"
state: restarted state: restarted
when: not no_net_restart
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab #when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
#when: (iiab_network_mode != "Appliance") and (not no_net_restart)
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface #when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface

View file

@ -1,6 +1,7 @@
# iiab_network_mode is {{ iiab_network_mode }} # iiab_network_mode is {{ iiab_network_mode }}
{% if gui_desired_network_role is defined %}
# gui_desired_network_role is {{ gui_desired_network_role }} # gui_desired_network_role is {{ gui_desired_network_role }}
{% endif %}
{% if iiab_network_mode != "Appliance" %} {% if iiab_network_mode != "Appliance" %}
################# LANCONTROLLER ################### ################# LANCONTROLLER ###################
auto br0 auto br0