From 7e6f8ced9fc90515dd6aa58d4176518e0ed2b918 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 25 Jan 2016 15:59:30 -0600 Subject: [PATCH] ceph-ansible-pull-requests: activate the venv for the version check If we don't activate our virtualenv ceph-ansible can not find ansible to perform its version check and fails. Signed-off-by: Andrew Schoen --- ceph-ansible-pull-requests/build/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ceph-ansible-pull-requests/build/build b/ceph-ansible-pull-requests/build/build index 3f7a16a7..b2af8029 100644 --- a/ceph-ansible-pull-requests/build/build +++ b/ceph-ansible-pull-requests/build/build @@ -4,6 +4,9 @@ pkgs=( "ansible" ) install_python_packages "pkgs[@]" +# ceph-ansible does a check on the installed version of ansible and +# without our virtualenv activated it can not find it and fails +source $VENV/activate cd "$WORKSPACE"/ceph-ansible $VENV/ansible-playbook -i "localhost," -c local test.yml -- 2.47.3