mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
f2db49a14b
4 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -6,20 +6,20 @@
|
||||||
# src: network/resolvconf.j2
|
# src: network/resolvconf.j2
|
||||||
|
|
||||||
- name: BIND may be affected
|
- name: BIND may be affected
|
||||||
service:
|
systemd:
|
||||||
name: "{{ dns_service }}"
|
name: "{{ dns_service }}"
|
||||||
state: stopped
|
state: stopped
|
||||||
when: named_install and dnsmasq_enabled
|
when: named_install and dnsmasq_enabled
|
||||||
|
|
||||||
# dhcpd_server release the interface
|
# dhcpd_server release the interface
|
||||||
- name: dhcpd_server may be affected - stopping dhcpd
|
- name: dhcpd_server may be affected - stopping dhcpd
|
||||||
service:
|
systemd:
|
||||||
name: dhcpd
|
name: dhcpd
|
||||||
state: stopped
|
state: stopped
|
||||||
when: dhcpd_install | bool
|
when: dhcpd_install | bool
|
||||||
|
|
||||||
- name: dhcpd_server may be affected - stopping dnsmasq
|
- name: dhcpd_server may be affected - stopping dnsmasq
|
||||||
service:
|
systemd:
|
||||||
name: dnsmasq
|
name: dnsmasq
|
||||||
state: stopped
|
state: stopped
|
||||||
when: dnsmasq_install | bool
|
when: dnsmasq_install and not no_net_restart
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue