21fefd2cae
Update keystone authentication middleware in nova to support the v3 API in Kilo. Partially implements: blueprint master-kilofication Change-Id: I2f38ed9a5ad82d98596835a59f6852f1bd3d8ffc
107 lines
4.1 KiB
YAML
107 lines
4.1 KiB
YAML
---
|
|
# Copyright 2014, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
- include: nova_service_add.yml
|
|
vars:
|
|
service_user_name: "{{ nova_service_user_name }}"
|
|
service_tenant_name: "{{ nova_service_project_name }}"
|
|
service_name: "{{ nova_service_name }}"
|
|
service_type: "{{ nova_service_type }}"
|
|
service_region: "{{ nova_service_region }}"
|
|
service_description: "{{ nova_service_description }}"
|
|
service_password: "{{ nova_service_password }}"
|
|
service_publicurl: "{{ nova_service_publicurl }}"
|
|
service_internalurl: "{{ nova_service_internalurl }}"
|
|
service_adminurl: "{{ nova_service_adminurl }}"
|
|
role_name: "{{ nova_service_role_name }}"
|
|
tags:
|
|
- nova-api
|
|
- nova-api-v2
|
|
|
|
|
|
- include: nova_service_add.yml
|
|
vars:
|
|
service_user_name: "{{ nova_service_user_name }}"
|
|
service_tenant_name: "{{ nova_service_project_name }}"
|
|
service_name: "{{ nova_v21_service_name }}"
|
|
service_type: "{{ nova_v21_service_type }}"
|
|
service_region: "{{ nova_service_region }}"
|
|
service_description: "{{ nova_v21_service_description }}"
|
|
service_password: "{{ nova_v21_service_password }}"
|
|
service_publicurl: "{{ nova_v21_service_publicurl }}"
|
|
service_internalurl: "{{ nova_v21_service_internalurl }}"
|
|
service_adminurl: "{{ nova_v21_service_adminurl }}"
|
|
role_name: "{{ nova_service_role_name }}"
|
|
tags:
|
|
- nova-api
|
|
- nova-api-v21
|
|
|
|
- include: nova_service_add.yml
|
|
vars:
|
|
service_user_name: "{{ nova_service_user_name }}"
|
|
service_tenant_name: "{{ nova_service_project_name }}"
|
|
service_name: "{{ nova_v3_service_name }}"
|
|
service_type: "{{ nova_v3_service_type }}"
|
|
service_region: "{{ nova_service_region }}"
|
|
service_description: "{{ nova_v3_service_description }}"
|
|
service_password: "{{ nova_v3_service_password }}"
|
|
service_publicurl: "{{ nova_v3_service_publicurl }}"
|
|
service_internalurl: "{{ nova_v3_service_internalurl }}"
|
|
service_adminurl: "{{ nova_v3_service_adminurl }}"
|
|
role_name: "{{ nova_service_role_name }}"
|
|
when: >
|
|
nova_v3_deprecated_but_enabled == true or nova_v3_deprecated_but_enabled == 'True'
|
|
tags:
|
|
- nova-api
|
|
- nova-api-v3
|
|
|
|
- include: nova_service_add.yml
|
|
vars:
|
|
service_user_name: "{{ nova_service_user_name }}"
|
|
service_tenant_name: "{{ nova_service_project_name }}"
|
|
service_name: "{{ nova_s3_service_name }}"
|
|
service_type: "{{ nova_s3_service_type }}"
|
|
service_region: "{{ nova_service_region }}"
|
|
service_description: "{{ nova_s3_service_description }}"
|
|
service_password: "{{ nova_s3_service_password }}"
|
|
service_publicurl: "{{ nova_s3_service_publicurl }}"
|
|
service_internalurl: "{{ nova_s3_service_internalurl }}"
|
|
service_adminurl: "{{ nova_s3_service_adminurl }}"
|
|
role_name: "{{ nova_service_role_name }}"
|
|
when: >
|
|
nova_s3_deprecated_but_enabled == true or nova_s3_deprecated_but_enabled == 'True'
|
|
tags:
|
|
- nova-api
|
|
- nova-api-s3
|
|
|
|
- include: nova_service_add.yml
|
|
vars:
|
|
service_user_name: "{{ nova_service_user_name }}"
|
|
service_tenant_name: "{{ nova_service_project_name }}"
|
|
service_name: "{{ nova_ec2_service_name }}"
|
|
service_type: "{{ nova_ec2_service_type }}"
|
|
service_region: "{{ nova_service_region }}"
|
|
service_description: "{{ nova_ec2_service_description }}"
|
|
service_password: "{{ nova_ec2_service_password }}"
|
|
service_publicurl: "{{ nova_ec2_service_publicurl }}"
|
|
service_internalurl: "{{ nova_ec2_service_internalurl }}"
|
|
service_adminurl: "{{ nova_ec2_service_adminurl }}"
|
|
role_name: "{{ nova_service_role_name }}"
|
|
when: >
|
|
nova_ec2_deprecated_but_enabled == true or nova_ec2_deprecated_but_enabled == 'True'
|
|
tags:
|
|
- nova-api
|
|
- nova-api-ec2
|