openstack-ansible-os_cinder/tasks/cinder_service_setup.yml
Jimmy McCrory 2f9fbba8e0 Remove use of role_name variable
`role_name` is a reserved variable name. Instead, use the explicit
service_role_name variables when adding roles to users.

Change-Id: Ia5fa0e400aeec6d808891c5dd793ee8177d9b5f3
2016-01-10 12:46:29 -08:00

45 lines
1.8 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_project_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 }}"
tags:
- cinder-server
- include: cinder_service_add.yml
vars:
service_user_name: "{{ cinder_service_user_name }}"
service_tenant_name: "{{ cinder_service_project_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 }}"
tags:
- cinder-server