1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

better visual feedback when running

This commit is contained in:
Jerry Vonau 2025-01-08 19:26:27 -06:00
parent 1da4d45509
commit 917c6840d6

View file

@ -3,7 +3,7 @@
hostapd_enabled: False hostapd_enabled: False
when: (not wifi_up_down and discovered_wireless_iface == iiab_wan_iface) or discovered_wireless_iface == "none" or not can_be_ap when: (not wifi_up_down and discovered_wireless_iface == iiab_wan_iface) or discovered_wireless_iface == "none" or not can_be_ap
- name: Disable the Access Point 'hostapd' service - name: Disable the Access Point 'hostapd' service hostapd_enabled False
systemd: systemd:
name: hostapd name: hostapd
enabled: no enabled: no
@ -15,7 +15,7 @@
ignore_errors: True ignore_errors: True
when: wifi_up_down and can_be_ap and has_wifi_gateway is defined when: wifi_up_down and can_be_ap and has_wifi_gateway is defined
- name: Set Wifi Region country code for hostapd when present - name: Set Wifi Region country to {{ REG_DOM.stdout }} for hostapd when present
set_fact: set_fact:
host_country_code: "{{ REG_DOM.stdout }}" host_country_code: "{{ REG_DOM.stdout }}"
when: REG_DOM.stdout is defined and REG_DOM.stdout | length > 0 when: REG_DOM.stdout is defined and REG_DOM.stdout | length > 0