openstack-ansible/playbooks/setup-openstack.yml
Steve Lewis eff7914cfe Gnocchi identities created before Swift playbook
When Swift is used for Gnocchi storage we need to add the project
to which the Gnocchi service user is assigned to an exclude list for
Swift's telemetry middleware. That requires the Gnocchi identities
to be created before Swift playbook execution but Gnocchi service
install depends on an existing Swift service when it uses Swift
for storage. This change ensures that those identities exist before
Swift playbook execution.

Depends-On: If66fa8c3aa44d44019e3cedb5033ab83a65bd6ab
Depends-On: If4fa5c1c4401911057f99488694d74f5d83330a8
Change-Id: I0b6b53d5a4ad7423058c382160cc5009e0b3d866
2016-09-14 13:55:48 -07:00

37 lines
1.2 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: os-keystone-install.yml
- include: os-glance-install.yml
- include: os-cinder-install.yml
- include: os-nova-install.yml
- include: os-neutron-install.yml
- include: os-heat-install.yml
- include: os-horizon-install.yml
- include: os-ceilometer-install.yml
- include: os-aodh-install.yml
#NOTE(stevelle) Ensure Gnocchi identities exist before Swift
- include: os-gnocchi-install.yml
when:
- gnocchi_storage_driver is defined
- gnocchi_storage_driver == 'swift'
vars:
gnocchi_identity_only: True
- include: os-swift-install.yml
- include: os-gnocchi-install.yml
- include: os-ironic-install.yml
- include: os-magnum-install.yml
- include: os-sahara-install.yml