Install and run ARA in OSA venv
Change-Id: I924faad14a3209631fb3b2b09f4820bc1ec6bac9
This commit is contained in:
parent
6aabc3da95
commit
4070a4acf4
|
@ -6,6 +6,7 @@
|
|||
environment:
|
||||
SSH_AUTH_SOCK: "{{ ssh_agent_sock }}"
|
||||
ANSIBLE_VAULT_PASSWORD_FILE: "{{ vault_key_path }}"
|
||||
INSTALL_ARA: true
|
||||
tasks:
|
||||
- name: Run the deploy job
|
||||
command: scripts/run_deploy.sh
|
||||
|
|
|
@ -4,10 +4,14 @@ set -e
|
|||
|
||||
export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
|
||||
export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
|
||||
export INSTALL_ARA="${INSTALL_ARA:-false}"
|
||||
|
||||
cp -R ${PROJECT_PATH}/openstack_deploy /etc
|
||||
pushd ${PROJECT_PATH}/openstack-ansible
|
||||
scripts/bootstrap-ansible.sh
|
||||
source scripts/bootstrap-ansible.sh
|
||||
if [ "$INSTALL_ARA" == true ]; then
|
||||
setup_ara
|
||||
fi
|
||||
popd
|
||||
|
||||
pushd ${PROJECT_PATH}/openstack-ansible/playbooks
|
||||
|
|
Loading…
Reference in New Issue