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