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: If5b344a5d2282c130ffeb1f012cec3e858901529
Partial-Bug: #1741634
This commit is contained in:
Jean-Philippe Evrard 2018-01-19 16:25:54 +00:00
parent 03831dafe6
commit 32153e2001
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@
shell: |
find {{ tacker_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ tacker_bin | replace ('/','\/') }}\/python/' {{ tacker_bin }}/*
virtualenv {{ tacker_bin | dirname }}
tags:
- skip_ansible_lint
when: