mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
cleanups
This commit is contained in:
parent
a9e92191db
commit
bcc59a0bc3
3 changed files with 29 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue