Install and run ARA in OSA venv

Change-Id: I924faad14a3209631fb3b2b09f4820bc1ec6bac9
This commit is contained in:
Logan V 2018-09-13 15:47:35 -06:00
parent 6aabc3da95
commit 4070a4acf4
2 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@
environment: environment:
SSH_AUTH_SOCK: "{{ ssh_agent_sock }}" SSH_AUTH_SOCK: "{{ ssh_agent_sock }}"
ANSIBLE_VAULT_PASSWORD_FILE: "{{ vault_key_path }}" ANSIBLE_VAULT_PASSWORD_FILE: "{{ vault_key_path }}"
INSTALL_ARA: true
tasks: tasks:
- name: Run the deploy job - name: Run the deploy job
command: scripts/run_deploy.sh command: scripts/run_deploy.sh

View File

@ -4,10 +4,14 @@ set -e
export SCRIPT_PATH=$(dirname $(readlink -f "$0")) export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
export PROJECT_PATH=$(dirname "$SCRIPT_PATH") export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
export INSTALL_ARA="${INSTALL_ARA:-false}"
cp -R ${PROJECT_PATH}/openstack_deploy /etc cp -R ${PROJECT_PATH}/openstack_deploy /etc
pushd ${PROJECT_PATH}/openstack-ansible pushd ${PROJECT_PATH}/openstack-ansible
scripts/bootstrap-ansible.sh source scripts/bootstrap-ansible.sh
if [ "$INSTALL_ARA" == true ]; then
setup_ara
fi
popd popd
pushd ${PROJECT_PATH}/openstack-ansible/playbooks pushd ${PROJECT_PATH}/openstack-ansible/playbooks