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