1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

limit hostapd to 2.4GHz for now on RPI

This commit is contained in:
Jerry Vonau 2020-04-04 13:20:08 -05:00
parent 3b0be9d865
commit 3dd370e088

View file

@ -11,7 +11,7 @@
- name: Setting WiFi channel to {{ current_host_channel.stdout }} on RPi hardware
set_fact:
host_channel: "{{ current_host_channel.stdout }}"
when: current_host_channel.stdout != "" and discovered_wireless_iface != "none" and rpi_model != "none"
when: current_host_channel.stdout != "" and current_host_channel.stdout|int <= 13 and discovered_wireless_iface != "none" and rpi_model != "none"
- name: Create /etc/hostapd/hostapd.conf from template
template: