openstack-ansible-os_cinder/tasks/cinder_service_setup.yml

33 lines
1.3 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 }}"