1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Restart {{ dhcp_service2 }} as on is_ubuntu_20

This commit is contained in:
root 2020-11-15 01:13:49 +00:00
parent 3ecfa69c82
commit efe2381e43

View file

@ -89,7 +89,8 @@
systemd: systemd:
name: "{{ dhcp_service2 }}" name: "{{ dhcp_service2 }}"
state: restarted state: restarted
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 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: (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 #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 #when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface