Browse Source

Install and run ARA in OSA venv

Change-Id: I924faad14a3209631fb3b2b09f4820bc1ec6bac9
Logan V 7 months ago
parent
commit
4070a4acf4
2 changed files with 6 additions and 1 deletions
  1. 1
    0
      .zuul.d/playbooks-deploy/run.yml
  2. 5
    1
      scripts/run_deploy.sh

+ 1
- 0
.zuul.d/playbooks-deploy/run.yml View File

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

+ 5
- 1
scripts/run_deploy.sh View File

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

Loading…
Cancel
Save