openstack-ansible-os_cinder/tasks/cinder_service_setup.yml

47 lines
1.9 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_user_name: "{{ cinder_service_user_name }}"
service_tenant_name: "{{ cinder_service_tenant_name }}"
service_name: "{{ cinder_service_name }}"
service_type: "{{ cinder_service_type }}"
service_region: "{{ cinder_service_region }}"
service_description: "{{ cinder_service_description }}"
service_password: "{{ cinder_service_password }}"
service_publicurl: "{{ cinder_service_publicurl }}"
service_internalurl: "{{ cinder_service_internalurl }}"
service_adminurl: "{{ cinder_service_adminurl }}"
role_name: "{{ cinder_service_role_name }}"
tags:
- cinder-server
- include: cinder_service_add.yml
vars:
service_user_name: "{{ cinder_service_user_name }}"
service_tenant_name: "{{ cinder_service_tenant_name }}"
service_name: "{{ cinder_service_v2_name }}"
service_type: "{{ cinder_service_v2_type }}"
service_region: "{{ cinder_service_region }}"
service_description: "{{ cinder_service_v2_description }}"
service_password: "{{ cinder_service_password }}"
service_publicurl: "{{ cinder_service_v2_publicurl }}"
service_internalurl: "{{ cinder_service_v2_internalurl }}"
service_adminurl: "{{ cinder_service_v2_adminurl }}"
role_name: "{{ cinder_service_role_name }}"
tags:
- cinder-server