diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-12 15:39:23 +0100 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-12 15:39:23 +0100 |
commit | aafbd31f00f48ee9e3e1aaea8f5f316669262872 (patch) | |
tree | 9fc655ca3225eaf505d643de0483360f73fec8e3 /roles | |
parent | b9bbcca63fe9bd6cc89846ecfdac548384489fce (diff) | |
download | openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.gz openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.bz2 openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.tar.xz openshift-aafbd31f00f48ee9e3e1aaea8f5f316669262872.zip |
Fix openshift_openstack_provision_user_commands
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_openstack/templates/user_data.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_openstack/templates/user_data.j2 b/roles/openshift_openstack/templates/user_data.j2 index 352744285..1ca87a429 100644 --- a/roles/openshift_openstack/templates/user_data.j2 +++ b/roles/openshift_openstack/templates/user_data.j2 @@ -12,11 +12,11 @@ write_files: content: | Defaults:openshift !requiretty -{% if openshift_openstack_cloud_init_runcmd %} +{% if openshift_openstack_provision_user_commands %} - path: /root/ansible_install.sh permissions: '0544' content: | -{% for cmd in openshift_openstack_cloud_init_runcmd %} +{% for cmd in openshift_openstack_provision_user_commands %} {% if cmd is string %} {{ cmd }} {% elif cmd is iterable %} |