1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00
This commit is contained in:
Jerry Vonau 2023-04-16 19:38:48 -05:00
parent 3ae4627956
commit e63028f8ee

View file

@ -14,6 +14,16 @@
- wpa_supplicant - wpa_supplicant
when: wifi_up_down and hostapd_enabled when: wifi_up_down and hostapd_enabled
- name: Record host_country_code_applied in network of iiab_ini_file
ini_file:
dest: "{{ iiab_ini_file }}" # /etc/iiab/iiab.ini
section: network
option: "{{ item.option }}"
value: "{{ item.value | string }}"
with_items:
- option: host_country_code_applied
value: "{{ host_country_code }}"
- name: Create /etc/hostapd/hostapd.conf and backup .iiab from template if needed - name: Create /etc/hostapd/hostapd.conf and backup .iiab from template if needed
template: template:
owner: root owner: root