mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Move iiab-hotspot-on|off installs (hostapd.yml to main.yml, for Admin Console)
This commit is contained in:
parent
91046a4f12
commit
699e908291
2 changed files with 18 additions and 15 deletions
|
@ -50,21 +50,8 @@
|
|||
mode: 0644
|
||||
when: not wifi_up_down and can_be_ap
|
||||
|
||||
- name: Create /usr/bin/iiab-hotspot-on from template
|
||||
template:
|
||||
src: hostapd/iiab-hotspot-on
|
||||
dest: /usr/bin/iiab-hotspot-on
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Create /usr/bin/iiab-hotspot-off from template
|
||||
template:
|
||||
src: hostapd/iiab-hotspot-off
|
||||
dest: /usr/bin/iiab-hotspot-off
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
# 2022-07-11: Install of iiab-hotspot-on|off moved to network/tasks/main.yml
|
||||
# as required for Admin Console
|
||||
|
||||
- name: Create dhcpcd hook for hostapd and ap0 when wifi_up_down True
|
||||
template:
|
||||
|
|
|
@ -25,6 +25,22 @@
|
|||
include_tasks: install.yml
|
||||
when: network_install and network_installed is undefined
|
||||
|
||||
- name: Create /usr/bin/iiab-hotspot-on from template
|
||||
template:
|
||||
src: hostapd/iiab-hotspot-on
|
||||
dest: /usr/bin/iiab-hotspot-on
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Create /usr/bin/iiab-hotspot-off from template
|
||||
template:
|
||||
src: hostapd/iiab-hotspot-off
|
||||
dest: /usr/bin/iiab-hotspot-off
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
|
||||
- name: Configuring Network if enabled
|
||||
block:
|
||||
# - name: Configure wondershaper
|
||||
|
|
Loading…
Reference in a new issue