diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-08-23 14:19:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-23 14:19:32 -0400 |
commit | 6968359e77172a8a332d95b5cd146e475d688c7e (patch) | |
tree | 71546b462e798c54b7711abc816165ec3689a326 /roles/openshift_aws_launch_config/templates | |
parent | 66f5e69759542ab8a2b5a5698c192894d9274699 (diff) | |
parent | 435bbcb4af02ddedaa2ebcbea48b00f2bbf4d164 (diff) | |
download | openshift-6968359e77172a8a332d95b5cd146e475d688c7e.tar.gz openshift-6968359e77172a8a332d95b5cd146e475d688c7e.tar.bz2 openshift-6968359e77172a8a332d95b5cd146e475d688c7e.tar.xz openshift-6968359e77172a8a332d95b5cd146e475d688c7e.zip |
Merge pull request #5011 from kwoodson/provision
AWS Provisioning with scale groups.
Diffstat (limited to 'roles/openshift_aws_launch_config/templates')
-rw-r--r-- | roles/openshift_aws_launch_config/templates/cloud-init.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/openshift_aws_launch_config/templates/cloud-init.j2 b/roles/openshift_aws_launch_config/templates/cloud-init.j2 new file mode 100644 index 000000000..1a1e29550 --- /dev/null +++ b/roles/openshift_aws_launch_config/templates/cloud-init.j2 @@ -0,0 +1,9 @@ +{% if r_openshift_aws_launch_config_bootstrap_token is defined and r_openshift_aws_launch_config_bootstrap_token is not '' %} +#cloud-config +write_files: +- path: /root/csr_kubeconfig + owner: root:root + permissions: '0640' + content: |- + {{ r_openshift_aws_launch_config_bootstrap_token }} +{% endif %} |