diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-01-11 10:59:38 +0100 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-09 17:59:11 +0100 |
commit | c9cce6db686588b977968bc65a10dc5039a08a23 (patch) | |
tree | b973e8e5b2079f6ef90235726ce44c94f38ee579 | |
parent | 5d2eb42f0a600fc4e262dabdee36e0440cdb2537 (diff) | |
download | openshift-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>
-rw-r--r-- | roles/openshift_openstack/templates/user_data.j2 | 2 |
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 %} |