diff --git a/roles/kubernetes/master/tasks/kubeadm-setup.yml b/roles/kubernetes/master/tasks/kubeadm-setup.yml
index 31067522ad90f35379815079a48695768d0bcd78..0e4184568239cc54d1980efbd435a7bb374d1764 100644
--- a/roles/kubernetes/master/tasks/kubeadm-setup.yml
+++ b/roles/kubernetes/master/tasks/kubeadm-setup.yml
@@ -63,10 +63,10 @@
       {% endif %}
       {{ hostvars[host]['ip'] | default(fallback_ips[host]) }}
       {%- endfor %}
-      {%- if supplementary_addresses_in_ssl_keys is defined -%}
+      {% if supplementary_addresses_in_ssl_keys is defined -%}
       {% for addr in supplementary_addresses_in_ssl_keys %}
       {{ addr }}
-      {%- endfor %}
+      {% endfor %}
       {%- endif %}
   tags: facts