From 8191a1329d5a9644751f59cfc2e0683082e82b7c 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: I8bd55222c6e058c7c26075aab219043c5fb076ed Partial-Bug: #1741634 --- tasks/cloudkitty_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/cloudkitty_install.yml b/tasks/cloudkitty_install.yml index 6d8e20a..71d59a0 100644 --- a/tasks/cloudkitty_install.yml +++ b/tasks/cloudkitty_install.yml @@ -131,6 +131,7 @@ shell: | find {{ cloudkitty_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ cloudkitty_bin | replace ('/','\/') }}\/python/' {{ cloudkitty_bin }}/* + virtualenv {{ cloudkitty_bin | dirname }} when: cloudkitty_get_venv | changed tags: - skip_ansible_lint