From bb88695dd51efa62687437489fbe845586b6efa1 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Thu, 12 Jul 2018 12:39:22 +0300 Subject: [PATCH] Convert wifi-exclude to a string. Update-users fix --- roles/vpn/templates/mobileconfig.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/vpn/templates/mobileconfig.j2 b/roles/vpn/templates/mobileconfig.j2 index b62bd026..44fbcbda 100644 --- a/roles/vpn/templates/mobileconfig.j2 +++ b/roles/vpn/templates/mobileconfig.j2 @@ -13,7 +13,7 @@ OnDemandRules {% if algo_ondemand_wifi_exclude != '_null' %} -{% set WIFI_EXCLUDE_LIST = algo_ondemand_wifi_exclude.split(',') %} +{% set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|string).split(',') %} Action Disconnect