diff --git a/roles/strongswan/templates/mobileconfig.j2 b/roles/strongswan/templates/mobileconfig.j2
index 77dc4e96..6cf0ea13 100644
--- a/roles/strongswan/templates/mobileconfig.j2
+++ b/roles/strongswan/templates/mobileconfig.j2
@@ -13,8 +13,8 @@
1
OnDemandRules
- {%- if algo_ondemand_wifi_exclude|b64decode != '_null' %}
- {%- set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|b64decode|string).split(',') %}
+ {% if algo_ondemand_wifi_exclude|b64decode != '_null' %}
+ {% set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|b64decode|string).split(',') %}
Action
Disconnect