1
0
Fork 0
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:
A Holt 2019-02-26 13:36:01 -05:00 committed by GitHub
commit 73531b1f46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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