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:
parent
5a538cbdd2
commit
3b26b4c594
1 changed files with 4 additions and 3 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue