diff options
author | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-01-12 16:24:49 +0100 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2018-02-09 17:59:31 +0100 |
commit | 5c1850b43582f8449070399df5c32c3fcd8688e2 (patch) | |
tree | c0950cbdb0048f121992d5fa0cc10bdbbfdf6f26 /roles/openshift_openstack | |
parent | c9cce6db686588b977968bc65a10dc5039a08a23 (diff) | |
download | openshift-5c1850b43582f8449070399df5c32c3fcd8688e2.tar.gz openshift-5c1850b43582f8449070399df5c32c3fcd8688e2.tar.bz2 openshift-5c1850b43582f8449070399df5c32c3fcd8688e2.tar.xz openshift-5c1850b43582f8449070399df5c32c3fcd8688e2.zip |
Clarify the ansible playbook vs cloud-init
Document use cases for custom post-provision ansible hooks
vs cloud-init runcmd shell commands. Rename to
openshift_openstack_cloud_init_runcmd.
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'roles/openshift_openstack')
-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 b8692b1ae..e130e71c3 100644 --- a/roles/openshift_openstack/templates/user_data.j2 +++ b/roles/openshift_openstack/templates/user_data.j2 @@ -12,9 +12,9 @@ write_files: content: | Defaults:openshift !requiretty -{% if openshift_openstack_provision_user_commands %} +{% if openshift_openstack_cloud_init_runcmd %} runcmd: -{% for cmd in openshift_openstack_provision_user_commands %} +{% for cmd in openshift_openstack_cloud_init_runcmd %} - {{ cmd|map('string')|list|tojson }} {% endfor %} {% endif %} |