From 0440e45d6507c25538e3a665fecd628fdd2f47c5 Mon Sep 17 00:00:00 2001
From: Dmitry Chepurovskiy <me@dm3ch.net>
Date: Fri, 29 Mar 2019 10:26:13 +0300
Subject: [PATCH] Fix supplementary_addresses rendering error (#4403)

---
 roles/kubernetes/master/tasks/kubeadm-setup.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/roles/kubernetes/master/tasks/kubeadm-setup.yml b/roles/kubernetes/master/tasks/kubeadm-setup.yml
index 31067522a..0e4184568 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
 
-- 
GitLab