From 19c40bf969aef794f6dcc4e6a539c788e261efa3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:30:32 +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: Ib62da7388ac16da44f7a1aa13c3cc7e928daa2e6 Partial-Bug: #1741634 --- tasks/barbican_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/barbican_install.yml b/tasks/barbican_install.yml index ef94bb5..534fa86 100644 --- a/tasks/barbican_install.yml +++ b/tasks/barbican_install.yml @@ -111,6 +111,7 @@ shell: | find {{ barbican_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ barbican_bin | replace ('/','\/') }}\/python/' {{ barbican_bin }}/* + virtualenv {{ barbican_bin | dirname }} when: barbican_get_venv | changed tags: - skip_ansible_lint