1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

don't call netplan apply

This commit is contained in:
Jerry Vonau 2020-04-26 16:44:41 -05:00
parent 5a538cbdd2
commit 3b26b4c594

View file

@ -53,9 +53,10 @@
creates: /etc/sysconfig/olpc-scripts/setup.d/installed/gateway
when: iiab_network_mode == "Gateway"
- name: Reload netplan when Wifi is present on Ubuntu 18+
shell: netplan apply
when: not no_net_restart and is_ubuntu and netplan.stdout.find("yaml") != -1
#netplan de-configures pre-created bridged interfaces
#- name: Reload netplan when Wifi is not gateway on Ubuntu 18+
# shell: netplan apply
# when: not no_net_restart and is_ubuntu and netplan.stdout.find("yaml") != -1
- name: Waiting {{ hostapd_wait }} seconds for network to stabilize (dnsmasq will fail if br0 isn't in a 'up' state!)
shell: sleep {{ hostapd_wait }}