summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider/templates/openstack/cloud.conf.j2
blob: 388f3a7351c565af3a29d4c47aa037c49adf47cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Global]
auth-url = {{ ocp_os_auth_url }}
username = {{ ocp_os_username }}
password = {{ ocp_os_password }}
{% if ocp_os_tenant_id %}
tenant-id = {{ ocp_os_tenant_id }}
{% else %}
tenant-name = {{ ocp_os_tenant_name }}
{% endif %}
{% if ocp_os_region %}
region = {{ ocp_os_region }}
{% endif %}
{% if ocp_os_lb_subnet_id is defined %}
+
+[LoadBalancer]
+subnet-id = {{ ocp_os_lb_subnet_id }}
+{% endif %}