From 2f2aafba378908e98cd4bf7bff2d47029a438b4c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:54:07 +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: I05e02d36bed208b44f666ddb4ace8e847c88b76a Partial-Bug: #1741634 --- tasks/zaqar_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/zaqar_install.yml b/tasks/zaqar_install.yml index 942efe4..29b6045 100644 --- a/tasks/zaqar_install.yml +++ b/tasks/zaqar_install.yml @@ -136,6 +136,7 @@ shell: | find {{ zaqar_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ zaqar_bin | replace ('/','\/') }}\/python/' {{ zaqar_bin }}/* + virtualenv {{ zaqar_bin | dirname }} when: zaqar_get_venv | changed tags: - skip_ansible_lint