b7bb1d8fc2
Cinder v2 api is deprecated, and will be removed at some point. This patch adds support for the v3 api, which should be enabled by default. Change-Id: If6b8c1c15464c6bf7d5240a1f17e0e590dcaf7cd
42 lines
1.7 KiB
YAML
42 lines
1.7 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: cinder_service_add.yml
|
|
vars:
|
|
service_name: "{{ cinder_service_name }}"
|
|
service_type: "{{ cinder_service_type }}"
|
|
service_description: "{{ cinder_service_description }}"
|
|
service_publicurl: "{{ cinder_service_publicurl }}"
|
|
service_internalurl: "{{ cinder_service_internalurl }}"
|
|
service_adminurl: "{{ cinder_service_adminurl }}"
|
|
|
|
- include: cinder_service_add.yml
|
|
vars:
|
|
service_name: "{{ cinder_service_v2_name }}"
|
|
service_type: "{{ cinder_service_v2_type }}"
|
|
service_description: "{{ cinder_service_v2_description }}"
|
|
service_publicurl: "{{ cinder_service_v2_publicurl }}"
|
|
service_internalurl: "{{ cinder_service_v2_internalurl }}"
|
|
service_adminurl: "{{ cinder_service_v2_adminurl }}"
|
|
|
|
- include: cinder_service_add.yml
|
|
vars:
|
|
service_name: "{{ cinder_service_v3_name }}"
|
|
service_type: "{{ cinder_service_v3_type }}"
|
|
service_description: "{{ cinder_service_v3_description }}"
|
|
service_publicurl: "{{ cinder_service_v3_publicurl }}"
|
|
service_internalurl: "{{ cinder_service_v3_internalurl }}"
|
|
service_adminurl: "{{ cinder_service_v3_adminurl }}"
|