1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update network/tasks/main.yml

This commit is contained in:
A Holt 2020-05-09 15:15:40 -04:00 committed by GitHub
parent d7a6e2390e
commit 378aebb748
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,12 @@
- name: detected_network
include_tasks: detected_network.yml
- name: IF WIFI IS PRIMARY GATEWAY, PLEASE RUN 'iiab-hotspot-on' MANUALLY
- name: Set 'no_net_restart: True' if discovered_wireless_iface == iiab_wan_iface
set_fact:
no_net_restart: True # used below in (1) sysd-netd-debian.yml,
# (2) debian.yml, (3) rpi_debian.yml,
# (4) NM-debian.yml
no_net_restart: True # 2020-05-09: Var is currently used in 10 files:
# 0-init/defaults/main.yml, network/tasks/main.yml, debian.yml,
# detected_network.yml, down-debian.yml, NM-debian.yml, restart.yml,
# sysd-netd-debian.yml, computed_services.yml, rpi_debian.yml
when: discovered_wireless_iface == iiab_wan_iface
# EITHER WAY: hostapd_enabled's state is RECORDED into {{ iiab_env_file }}