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

add install time option for control of AP upon reboot

This commit is contained in:
Jerry Vonau 2017-11-24 11:15:38 -06:00
parent 24269d2b4b
commit 29104b9f75

View file

@ -8,13 +8,13 @@
- network
- network-discover
- name: RPi hack for AP post install via wifi so the services are right
- name: RPi - reboot to AP post install - installed via wifi so the services are ready
set_fact:
iiab_lan_iface: br0
iiab_wan_iface: "{{ discovered_wired_iface }}"
iiab_wireless_lan_iface: "{{ discovered_wireless_iface }}"
iiab_wired_lan_iface: ""
when: is_rpi and discovered_wireless_iface is defined and discovered_wireless_iface == iiab_wan_iface
when: is_rpi and discovered_wireless_iface is defined and discovered_wireless_iface == iiab_wan_iface and reboot_to_AP is defined
- include_tasks: computed_network.yml
when: not installing
@ -27,7 +27,7 @@
- network
- AP
- name: RPi hack for AP post install via wifi don't blow away current network
- name: RPi reboot to AP post install - installed via wifi - don't blow away current network
set_fact:
no_net_restart: True
hostapd_enabled: False