From 2e298f12c2168be1bfb9aac790b41baf65c1303d Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 29 Aug 2016 09:43:15 -0400 Subject: Fix openstack cloudprovider template conditional. --- roles/openshift_cloud_provider/templates/openstack.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- cgit v1.2.3