diff options
Diffstat (limited to 'roles/openshift_cloud_provider/templates')
-rw-r--r-- | roles/openshift_cloud_provider/templates/openstack.conf.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/openshift_cloud_provider/templates/openstack.conf.j2 b/roles/openshift_cloud_provider/templates/openstack.conf.j2 new file mode 100644 index 000000000..313ee02b4 --- /dev/null +++ b/roles/openshift_cloud_provider/templates/openstack.conf.j2 @@ -0,0 +1,21 @@ +[Global] +auth-url = {{ openshift_cloudprovider_openstack_auth_url }} +username = {{ openshift_cloudprovider_openstack_username }} +password = {{ openshift_cloudprovider_openstack_password }} +{% if openshift_cloudprovider_openstack_domain_id is defined %} +domain-id = {{ openshift_cloudprovider_openstack_domain_id }} +{% elif openshift_cloudprovider_openstack_domain_name is defined %} +domain-name = {{ openshift_cloudprovider_openstack_domain_name }} +{% endif %} +{% if openshift_cloudprovider_openstack_tenant_id is defined %} +tenant-id = {{ openshift_cloudprovider_openstack_tenant_id }} +{% else %} +tenant-name = {{ openshift_cloudprovider_openstack_tenant_name }} +{% endif %} +{% if openshift_cloudprovider_openstack_region is defined %} +region = {{ openshift_cloudprovider_openstack_region }} +{% endif %} +{% if openshift_cloudprovider_openstack_lb_subnet_id is defined %} +[LoadBalancer] +subnet-id = {{ openshift_cloudprovider_openstack_lb_subnet_id }} +{% endif %} |