openstack-ansible/playbooks/nova-api-os-compute.yml

55 lines
1.6 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.
- hosts: nova_api_os_compute[0]
user: root
roles:
- keystone_add_service
vars_files:
- vars/openstack_service_vars/nova_api_os_compute_endpoint.yml
- hosts: nova_api_os_compute[0]
user: root
roles:
- keystone_add_service
vars_files:
- vars/openstack_service_vars/nova_api_os_computev3_endpoint.yml
- hosts: nova_api_os_compute[0]
user: root
roles:
- galera_db_setup
- nova_common
- nova_setup
- init_script
vars_files:
- inventory/group_vars/nova_all.yml
- vars/openstack_service_vars/nova_api_os_compute.yml
- vars/openstack_service_vars/nova_spice_console_endpoint.yml
handlers:
- include: handlers/services.yml
- hosts: nova_api_os_compute:!nova_api_os_compute[0]
user: root
roles:
- nova_common
- init_script
vars_files:
- inventory/group_vars/nova_all.yml
- vars/openstack_service_vars/nova_api_os_compute.yml
- vars/openstack_service_vars/nova_spice_console_endpoint.yml
handlers:
- include: handlers/services.yml