From 744c3733f36ef6c8760cf87d30cdc056b513466a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:16:44 +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: I9b20102a82e26b6772bfab342632dcd53ddf18f3 Partial-Bug: #1741634 --- tasks/horizon_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/horizon_install.yml b/tasks/horizon_install.yml index 147be256..424c8545 100644 --- a/tasks/horizon_install.yml +++ b/tasks/horizon_install.yml @@ -154,6 +154,7 @@ shell: | find {{ horizon_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ horizon_bin | replace ('/','\/') }}\/python/' {{ horizon_bin }}/* + virtualenv {{ horizon_bin | dirname }} when: horizon_get_venv | changed tags: - skip_ansible_lint