From 44675f659a7dfbe8e9ceed26539d18419a0f59d5 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 29 Dec 2017 01:03:02 -0500 Subject: [PATCH] "no_net_restart: True" to prevent WiFi flakiness? --- roles/network/tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/network/tasks/main.yml b/roles/network/tasks/main.yml index 5dd6c924e..59ebc01ab 100644 --- a/roles/network/tasks/main.yml +++ b/roles/network/tasks/main.yml @@ -6,11 +6,13 @@ tags: - network #REMOVE SUCH LINES (BELOW TOO) AS WE'RE IN "network" ? - network-discover - -# manually_toggle_AP is used in hostapd.yml and in rpi_debian.yml's dhcpcd.conf.j2 (both below) + - name: Enable manually_toggle_AP if WiFi is primary gateway set_fact: - manually_toggle_AP: true + manually_toggle_AP: true # used in (1) hostapd.yml, (2) rpi_debian.yml + + # (3) its dhcpcd.conf.j2, (4) restart.yml + no_net_restart: True # used below in (1) sysd-netd-debian.yml, + # (2) debian.yml, (3) rpi_debian.yml when: discovered_wireless_iface == iiab_wan_iface and not reboot_to_AP #- name: RPi - reboot to AP post install - installed via wifi so the services are ready