From a3cd6db5be83a51cff6852f1dc6c5b9cea742619 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:29:26 +0000 Subject: [PATCH] Reinitialize the virtualenv In the previous patch removing the virtualenv-tools, we've updated paths to the proper binaries, but we don't reset the virtualenv like what we used to do. Change-Id: Ib71894b97ba13a9c7a9f8b36ca9c02cc1cc10da3 Partial-Bug: #1741634 --- tasks/rally_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/rally_install.yml b/tasks/rally_install.yml index 9824ddd..5896c3c 100644 --- a/tasks/rally_install.yml +++ b/tasks/rally_install.yml @@ -108,6 +108,7 @@ shell: | find {{ rally_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ rally_bin | replace ('/','\/') }}\/python/' {{ rally_bin }}/* + virtualenv {{ rally_bin | dirname }} when: rally_get_venv | changed tags: - skip_ansible_lint