File tree Expand file tree Collapse file tree 5 files changed +22
-0
lines changed
templates/var/lib/ansible/group_vars Expand file tree Collapse file tree 5 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ parameters:
295295 os_password: <password>
296296 os_region_name: regionOne
297297 os_tenant_name: <tenant name>
298+ os_domain_name: <domain name>
298299----
299300
300301When invoking the stack creation, include this by adding `-e
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ function create_metadata_json() {
4848 "os_auth_url":"$os_auth_url ",
4949 "os_tenant_name":"$os_tenant_name ",
5050 "os_region_name":"$os_region_name ",
51+ "os_domain_name":"$os_domain_name ",
5152 "dedicated_lb": $( [ " $lb_type " == " dedicated" ] && echo true || echo false) ,
5253 "no_lb": $( [ " $lb_type " == " none" ] && echo true || echo false) ,
5354 "external_lb": $( [ " $lb_type " == " external" ] && echo true || echo false) ,
Original file line number Diff line number Diff line change @@ -320,6 +320,13 @@ parameters:
320320 The name of the OpenStack project or "tenant" for OpenShift to use
321321 type : string
322322
323+ os_domain_name :
324+ description : >
325+ The name of the OpenStack domain for OpenShift to use. Leave it
326+ empty for v2 authentication.
327+ type : string
328+ default : ' '
329+
323330 os_region_name :
324331 description : >
325332 The name of the OpenStack "region" to use to create or find resources
@@ -711,6 +718,8 @@ resources:
711718 default : {get_param: os_password}
712719 - name : os_tenant_name
713720 default : {get_param: os_tenant_name}
721+ - name : os_domain_name
722+ default : {get_param: os_domain_name}
714723 - name : os_region_name
715724 default : {get_param: os_region_name}
716725 - name : lb_type
Original file line number Diff line number Diff line change @@ -453,6 +453,13 @@ parameters:
453453 The Openstack tenant to by used by Openshift
454454 default : ' '
455455
456+ os_domain_name :
457+ description : >
458+ The name of the OpenStack domain for OpenShift to use. Leave it
459+ empty for v2 authentication.
460+ type : string
461+ default : ' '
462+
456463 os_region_name :
457464 type : string
458465 description : >
@@ -744,6 +751,7 @@ resources:
744751 os_username : {get_param: os_username}
745752 os_password : {get_param: os_password}
746753 os_tenant_name : {get_param: os_tenant_name}
754+ os_domain_name : {get_param: os_domain_name}
747755 os_region_name : {get_param: os_region_name}
748756 loadbalancer_type : {get_param: loadbalancer_type}
749757 dns_servers : {get_param: dns_nameserver}
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ openshift_cloudprovider_openstack_username: {{os_username}}
5252openshift_cloudprovider_openstack_password : {{os_password}}
5353openshift_cloudprovider_openstack_tenant_name : {{os_tenant_name}}
5454openshift_cloudprovider_openstack_region : {{os_region_name}}
55+ {{#os_domain_name}}
56+ openshift_cloudprovider_openstack_domain_name : {{os_domain_name}}
57+ {{/os_domain_name}}
5558{{#deploy_registry}}
5659openshift_hosted_registry_replicas : 1
5760openshift_registry_selector : region=infra
You can’t perform that action at this time.
0 commit comments