summaryrefslogtreecommitdiffstats
path: root/roles/openshift_cloud_provider
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-08-29 09:43:15 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-08-29 09:43:15 -0400
commit2e298f12c2168be1bfb9aac790b41baf65c1303d (patch)
treedc152006ae046894361950896d12e3453c5a304c /roles/openshift_cloud_provider
parent9ed3fd2942ba247a1569ae5dd5d15cdeb41563d9 (diff)
downloadopenshift-2e298f12c2168be1bfb9aac790b41baf65c1303d.tar.gz
openshift-2e298f12c2168be1bfb9aac790b41baf65c1303d.tar.bz2
openshift-2e298f12c2168be1bfb9aac790b41baf65c1303d.tar.xz
openshift-2e298f12c2168be1bfb9aac790b41baf65c1303d.zip
Fix openstack cloudprovider template conditional.
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r--roles/openshift_cloud_provider/templates/openstack.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_cloud_provider/templates/openstack.conf.j2 b/roles/openshift_cloud_provider/templates/openstack.conf.j2
index 4e1695b7b..ce452db24 100644
--- a/roles/openshift_cloud_provider/templates/openstack.conf.j2
+++ b/roles/openshift_cloud_provider/templates/openstack.conf.j2
@@ -10,7 +10,7 @@ tenant-name = {{ openshift_cloudprovider_openstack_tenant_name }}
{% if openshift_cloudprovider_openstack_region is defined %}
region = {{ openshift_cloudprovider_openstack_region }}
{% endif %}
-{% if 'lb_subnet_id' in openshift_cloudprovider_openstack %}
+{% if openshift_cloudprovider_openstack_lb_subnet_id is defined %}
[LoadBalancer]
subnet-id = {{ openshift_cloudprovider_openstack_lb_subnet_id }}
{% endif %}