mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
record HOSTAPD_ENABLED=<value> into iiab.env
This commit is contained in:
parent
246515ed21
commit
1396704aff
1 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,16 @@
|
|||
# be encapsulated into roles/network/tasks/hostapd.yml in future? Whereas
|
||||
# today "./runtags hostapd" doesn't exist & "./runtags AP" is UNSUPPORTED!
|
||||
|
||||
- name: Record HOSTAPD_ENABLED to /etc/iiab/iiab.env
|
||||
lineinfile:
|
||||
dest: /etc/iiab/iiab.env
|
||||
regexp: '^HOSTAPD_ENABLED=*'
|
||||
line: 'HOSTAPD_ENABLED="{{ hostapd_enabled }}"'
|
||||
state: present
|
||||
#when: not installing #REMOVE THIS LINE IF installing IS ALWAYS false AS SET IN roles/0-init/defaults/main.yml
|
||||
tags:
|
||||
- network
|
||||
|
||||
#- name: RPi - reboot to AP post install - installed via wifi so the services are ready
|
||||
# set_fact:
|
||||
# iiab_lan_iface: br0
|
||||
|
|
Loading…
Reference in a new issue