mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1525 from holta/wifi-dnsmasq-fix
WiFi dnsmasq fix for #1519 - always create br0 on RPi
This commit is contained in:
commit
73531b1f46
3 changed files with 5 additions and 3 deletions
|
@ -141,7 +141,7 @@
|
|||
- name: Set iiab_wired_lan_iface if present
|
||||
set_fact:
|
||||
iiab_wired_lan_iface: "{{ discovered_wired_iface }}"
|
||||
when: discovered_wired_iface is defined and discovered_wired_iface != "none" and discovered_wired_iface != iiab_wan_iface
|
||||
when: discovered_wired_iface is defined and discovered_wired_iface != "none" and discovered_wired_iface != iiab_wan_iface and not is_rpi
|
||||
|
||||
#unused
|
||||
#- name: Get a list of ifcfg files to delete
|
||||
|
|
|
@ -74,5 +74,6 @@
|
|||
systemd:
|
||||
name: "{{ dhcp_service2 }}"
|
||||
state: restarted
|
||||
when: (iiab_network_mode != "Appliance") and (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") and (not no_net_restart)
|
||||
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface
|
||||
|
|
|
@ -61,4 +61,5 @@
|
|||
name: networking
|
||||
enabled: yes
|
||||
state: restarted
|
||||
when: not nobridge is defined and not no_net_restart
|
||||
when: not nobridge is defined # less is better
|
||||
#when: not nobridge is defined and not no_net_restart
|
||||
|
|
Loading…
Add table
Reference in a new issue