ci-cloud-config/scripts/run_deploy.sh
Logan V 5344f28cc4 Fix ARA setup
Change-Id: If22b06353eeb23570fbcd13cd4493e8d67b9ce5f
2019-03-17 16:57:24 -05:00

23 lines
548 B
Bash
Executable File

#!/usr/bin/env bash
set -e
export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
export SETUP_ARA="${SETUP_ARA:-false}"
cp -RL ${PROJECT_PATH}/openstack_deploy /etc
pushd ${PROJECT_PATH}/openstack-ansible
source scripts/bootstrap-ansible.sh
popd
pushd ${PROJECT_PATH}/openstack-ansible/playbooks
openstack-ansible setup-hosts.yml
openstack-ansible setup-infrastructure.yml
openstack-ansible setup-openstack.yml
popd
pushd ${PROJECT_PATH}/network_bootstrap
openstack-ansible bootstrap-neutron.yml
popd