summaryrefslogtreecommitdiffstats
path: root/roles/openshift_openstack
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2018-01-11 10:59:38 +0100
committerBogdan Dobrelya <bdobreli@redhat.com>2018-02-09 17:59:11 +0100
commitc9cce6db686588b977968bc65a10dc5039a08a23 (patch)
treeb973e8e5b2079f6ef90235726ce44c94f38ee579 /roles/openshift_openstack
parent5d2eb42f0a600fc4e262dabdee36e0440cdb2537 (diff)
downloadopenshift-c9cce6db686588b977968bc65a10dc5039a08a23.tar.gz
openshift-c9cce6db686588b977968bc65a10dc5039a08a23.tar.bz2
openshift-c9cce6db686588b977968bc65a10dc5039a08a23.tar.xz
openshift-c9cce6db686588b977968bc65a10dc5039a08a23.zip
Fix openstack cloud-init runcmd templating
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'roles/openshift_openstack')
-rw-r--r--roles/openshift_openstack/templates/user_data.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_openstack/templates/user_data.j2 b/roles/openshift_openstack/templates/user_data.j2
index e8185edfb..b8692b1ae 100644
--- a/roles/openshift_openstack/templates/user_data.j2
+++ b/roles/openshift_openstack/templates/user_data.j2
@@ -15,6 +15,6 @@ write_files:
{% if openshift_openstack_provision_user_commands %}
runcmd:
{% for cmd in openshift_openstack_provision_user_commands %}
- - {{ cmd }}
+ - {{ cmd|map('string')|list|tojson }}
{% endfor %}
{% endif %}