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

Update roles/network/tasks/restart.yml

This commit is contained in:
A Holt 2020-05-04 15:32:34 -04:00 committed by GitHub
parent 5c402848dd
commit 9142cde8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@
systemd:
name: "{{ dhcp_service2 }}"
state: restarted
when: (not no_net_restart and not wifi_up_down) or wifi_up_down
when: (not no_net_restart) or wifi_up_down
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface
#keep an eye on legacy wifi installs where br0 is present but not 'online' with an ip address