1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Merge pull request #2516 from jvonau/wifi_default

better usage explanation of no_net_restart
This commit is contained in:
A Holt 2020-09-12 21:09:13 -04:00 committed by GitHub
commit df833d3f4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,8 +9,11 @@
#- name: "Set 'no_net_restart: True' if discovered_wireless_iface == iiab_wan_iface"
- name: "Set 'no_net_restart: True' if has_wifi_gateway is defined"
set_fact:
no_net_restart: True # 2020-09-12: Var is currently used in 11 files...
# 0-init/defaults/main.yml, network/tasks/main.yml, computed_services.yml,
no_net_restart: True # 2020-09-12:
# 0-init/defaults/main.yml - default boolean value of False
# network/tasks/main.yml - changes flag base on conditional present
# Var is currently used in 9 subsequent files, to suppress restarting of
# hostapd, dnsmasq and/or other networking service in computed_services.yml,
# debian.yml, detected_network.yml, down-debian.yml, netplan.yml,
# NM-debian.yml, restart.yml, rpi_debian.yml, sysd-netd-debian.yml
when: has_wifi_gateway is defined