mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 16:33:08 -06:00
DCD-224: Use provided Ansible virtualenv if provided.
This commit is contained in:
@@ -13,4 +13,9 @@ set -a
|
||||
source $ENV_FILE
|
||||
set +a
|
||||
|
||||
# Use Ansible from virtualenv if provided
|
||||
if [[ -f .venv/bin/ansible ]]; then
|
||||
source .venv/bin/activate
|
||||
fi
|
||||
|
||||
ansible-playbook -v -i $INV $PLAYBOOK | tee --append $LOG_FILE
|
||||
|
||||
Reference in New Issue
Block a user