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
This commit is contained in:
Jean-Philippe Evrard 2018-01-19 16:30:32 +00:00
parent 5730d33706
commit 19c40bf969
1 changed files with 1 additions and 0 deletions

View File

@ -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