mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-224: Use provided Ansible virtualenv if provided.
This commit is contained in:
@@ -13,4 +13,9 @@ set -a
|
|||||||
source $ENV_FILE
|
source $ENV_FILE
|
||||||
set +a
|
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
|
ansible-playbook -v -i $INV $PLAYBOOK | tee --append $LOG_FILE
|
||||||
|
|||||||
Reference in New Issue
Block a user