openstack-helm/tools/gate/playbooks/ironic-deploy.yaml
Pete Birley 70d010d63a Ironic: chart and initial gate scripts
This PS adds a chart, and checks, for OpenStack Ironic.

Change-Id: I9632885e5a0ca18e4e425c6b163f73d0d1e5649d
2018-02-06 22:48:49 +00:00

119 lines
3.5 KiB
YAML

# Copyright 2017 The Openstack-Helm Authors.
#
# 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: primary
tasks:
- name: Deploy Packages
shell: |
set -xe;
./tools/deployment/baremetal/000-install-packages.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Setup Nodes
shell: |
set -xe;
./tools/deployment/baremetal/005-setup-nodes.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy clients
shell: |
set -xe;
./tools/deployment/baremetal/010-setup-client.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy ingress
shell: |
set -xe;
./tools/deployment/baremetal/020-ingress.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Ceph
shell: |
set -xe;
./tools/deployment/baremetal/030-ceph.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Setup openstack namespace for ceph
shell: |
set -xe;
./tools/deployment/baremetal/035-ceph-ns-activate.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy MariaDB
shell: |
set -xe;
./tools/deployment/baremetal/040-mariadb.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy RabbitMQ
shell: |
set -xe;
./tools/deployment/baremetal/050-rabbitmq.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Memcached
shell: |
set -xe;
./tools/deployment/baremetal/060-memcached.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Keystone
shell: |
set -xe;
./tools/deployment/baremetal/080-keystone.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Glance
shell: |
set -xe;
./tools/deployment/baremetal/090-glance.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Hea
shell: |
set -xe;
./tools/deployment/baremetal/100-heat.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Compute Kit
shell: |
set -xe;
./tools/deployment/baremetal/110-compute-kit.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Create baremetal host aggregate
shell: |
set -xe;
./tools/deployment/baremetal/800-create-baremetal-host-aggregate.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Register baremetal nodes
shell: |
set -xe;
./tools/deployment/baremetal/810-register-baremetal-nodes.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Create baremetal flavor
shell: |
set -xe;
./tools/deployment/baremetal/820-create-baremetal-flavor.sh
args:
chdir: "{{ zuul.project.src_dir }}"
- name: Deploy Node
shell: |
set -xe;
./tools/deployment/baremetal/900-use-it.sh
args:
chdir: "{{ zuul.project.src_dir }}"