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

Update roles/network/tasks/hostapd.yml

Co-Authored-By: A Holt <holta@users.noreply.github.com>
This commit is contained in:
Jerry Vonau 2020-04-13 13:43:15 -05:00
parent 10eb7e76d9
commit 0bc294bbba

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 current_host_channel.stdout|int <= 13 and discovered_wireless_iface != "none" and rpi_model != "none"
when: current_host_channel.stdout is defined and 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: