From c7f8e5c937c3a93c37c748e3c2686b2895132105 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 2 Feb 2019 03:04:01 +0100 Subject: [PATCH] don't force roaming on iot wifi --- ansible/group_vars/accesspoints/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ansible/group_vars/accesspoints/main.yml b/ansible/group_vars/accesspoints/main.yml index a58aff2..a06696e 100644 --- a/ansible/group_vars/accesspoints/main.yml +++ b/ansible/group_vars/accesspoints/main.yml @@ -22,10 +22,16 @@ accesspoint_zones: ssid: "realraum" encryption: "psk2" key: "{{ vault_accesspoint_zones.guests.key }}" + extra_options: + disassoc_low_ack: '1' + rsn_preauth: '1' # members: # ssid: "r3members" # encryption: "psk2" # key: "{{ vault_accesspoint_zones.members.key }}" + # extra_options: + # disassoc_low_ack: '1' + # rsn_preauth: '1' @@ -113,11 +119,12 @@ accesspoint_wireless_ifaces_yaml: | device: 'radio{{ item.freq }}' network: '{{ zone }}' mode: 'ap' - disassoc_low_ack: '1' - rsn_preauth: '1' ssid: '{{ accesspoint_zones[zone].ssid }}{{ item.ssid }}' encryption: '{{ accesspoint_zones[zone].encryption }}' key: '{{ accesspoint_zones[zone].key }}' + {% for opt, val in (accesspoint_zones[zone].extra_options | default({}) ).items() %} + {{ opt }}: '{{ val }}' + {% endfor %} {% endfor %} {% endfor %} -- 1.7.10.4