Skip to content

Commit

Permalink
using as value of INSIGHTS_VERSION and ANALYTICS_API_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
ariestiyansyah committed Sep 7, 2018
1 parent ddafdce commit 9c5524f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install-insights.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@ virtualenv ansible
. ansible/bin/activate

# Clone Repository
git clone -b $OPENEDX_RELEASE https://github.com/ariestiyansyah/configuration.git
git clone -b $OPENEDX_RELEASE https://github.com/edx/configuration.git
cd configuration/
pip install -r requirements.txt
cd playbooks/edx-east/

# Running Ansible
echo "Running Ansible, this may take a while..."

ansible-playbook -i localhost, -c local analytics_single.yml --extra-vars "INSIGHTS_LMS_BASE=$LMS_URL INSIGHTS_BASE_URL=$INSIGHTS_URL"
ansible-playbook -i localhost, -c local analytics_single.yml --extra-vars
"INSIGHTS_LMS_BASE=$LMS_URL INSIGHTS_BASE_URL=$INSIGHTS_URL INSIGHTS_VERSION=$OPENEDX_RELEASE ANALYTICS_API_VERSION=$OPENEDX_RELEASE"

# Copy Trackinglog, make sure you download it before
echo "copy tracking log"
Expand Down

0 comments on commit 9c5524f

Please sign in to comment.