Stuart Grace f4594e9107 Add setup of OpenStack with flavors, images, etc
Added playbook which replicates the actions of openstack-service-setup.sh
which was present in earlier versions. This creates a sample set of
flavors, Linux images, networks, security group rules and a router so
OpenStack is ready to use.

The data controlling what is created is all in the file
   multi-node-aio/playbooks/vars/openstack-service-config.yml

Change-Id: Ib1999f215aabadb23a3ebeb55fbce4a2caf69030
2017-08-17 15:12:31 +01:00

39 lines
1.0 KiB
YAML

---
# Copyright 2017, 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 witing, 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: setup-host.yml
when:
- setup_host | default(true) | bool
- include: deploy-pxe.yml
when:
- setup_pxeboot | default(true) | bool
- include: deploy-dhcp.yml
when:
- setup_dhcpd | default(true) | bool
- include: deploy-vms.yml
when:
- deploy_vms | default(true) | bool
- include: deploy-osa.yml
when:
- deploy_osa | default(true) | bool
- include: openstack-service-setup.yml
when:
- configure_openstack | default(true) | bool