update runner script to accommodate new repo name
This commit is contained in:
@@ -7,7 +7,7 @@ cd /home/ansible
|
|||||||
mkdir -p /home/ansible/logs
|
mkdir -p /home/ansible/logs
|
||||||
|
|
||||||
|
|
||||||
cd /home/ansible/infra
|
cd /home/ansible/ansible
|
||||||
git fetch origin > /dev/null 2>&1
|
git fetch origin > /dev/null 2>&1
|
||||||
|
|
||||||
BEHIND_COUNT=$(git rev-list --count HEAD..@{u})
|
BEHIND_COUNT=$(git rev-list --count HEAD..@{u})
|
||||||
@@ -25,10 +25,10 @@ python3 -m venv /home/ansible/venv
|
|||||||
. /home/ansible/venv/bin/activate
|
. /home/ansible/venv/bin/activate
|
||||||
|
|
||||||
# Install requirements for ansible
|
# Install requirements for ansible
|
||||||
pip install -r /home/ansible/infra/ansible/requirements.txt
|
pip install -r /home/ansible/ansible/ansible/requirements.txt
|
||||||
|
|
||||||
# Change into ansible subdir of repo
|
# Change into ansible subdir of repo
|
||||||
cd /home/ansible/infra/ansible
|
cd /home/ansible/ansible/ansible
|
||||||
|
|
||||||
source /home/ansible/.bws
|
source /home/ansible/.bws
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user