From 69aba8eec3ef4121d98fc9a8f7c1de2b9412504c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 Jul 2022 15:14:40 -0400 Subject: [PATCH] network/tasks/main.yml: Swap order of iiab-hotspot-on|off & install.yml on @jvonau's request --- roles/network/tasks/main.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/roles/network/tasks/main.yml b/roles/network/tasks/main.yml index 9187eeb48..6a2ba3a7a 100644 --- a/roles/network/tasks/main.yml +++ b/roles/network/tasks/main.yml @@ -21,10 +21,10 @@ - name: computed_network include_tasks: computed_network.yml -- name: Install network packages (including many WiFi tools, and also iptables-persistent for firewall) - include_tasks: install.yml - when: network_install and network_installed is undefined - +# 2022-07-22: @jvonau asks for this to be (1) AFTER computed_network.yml [what +# goes into the 'hotspot' depends on what can_be_ap and wifi_up_down are set to] +# AND (2) BEFORE install.yml -- FYI Admin Console reads iiab_network_mode from +# /etc/iiab/iiab.ini and uses /usr/bin/iiab-hotspot-on|off. - name: Install /usr/bin/iiab-hotspot-on|off from template (root:root by default) template: src: "{{ item }}" @@ -34,6 +34,10 @@ - hostapd/iiab-hotspot-on - hostapd/iiab-hotspot-off +- name: Install network packages (including many WiFi tools, and also iptables-persistent for firewall) + include_tasks: install.yml + when: network_install and network_installed is undefined + - name: Configuring Network if enabled block: