1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
This commit is contained in:
Jerry Vonau 2022-07-08 02:04:05 -05:00
parent a9e92191db
commit bcc59a0bc3
3 changed files with 29 additions and 28 deletions

View file

@ -99,11 +99,12 @@
#keep an eye on legacy wifi installs where br0 is present but not 'online' with an ip address
#due to hostapd didn't go to a carrier state. All others should get dnsmasq restarted
#- name: User choice of dnsmasq or dhcpd - restarting {{ dhcp_service2 }}
- name: Restarting {{ dhcp_service2 }}
- name: Restarting dnsmasq
systemd:
name: "{{ dhcp_service2 }}"
name: dnsmasq
state: restarted
when: (not no_net_restart or (is_ubuntu and wifi_up_down)) or (iiab_stage|int == 9)
when: dnsmasq_enabled and ((not no_net_restart or (is_ubuntu and wifi_up_down)) or (iiab_stage|int == 9))
# when: (not no_net_restart or (is_ubuntu and wifi_up_down)) or (iiab_stage|int == 9)
#when: (not no_net_restart or (is_ubuntu_20 and wifi_up_down)) or (iiab_stage|int == 9)
#when: (not no_net_restart or (is_ubuntu_20 and wifi_up_down))
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab