From 3b26b4c59461c18cc88df72f45d8282a3896cec8 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sun, 26 Apr 2020 16:44:41 -0500 Subject: [PATCH] don't call netplan apply --- roles/network/tasks/restart.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/network/tasks/restart.yml b/roles/network/tasks/restart.yml index 6c106804c..0634bdc63 100644 --- a/roles/network/tasks/restart.yml +++ b/roles/network/tasks/restart.yml @@ -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 }}