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: Ib71894b97ba13a9c7a9f8b36ca9c02cc1cc10da3
Partial-Bug: #1741634
This commit is contained in:
Jean-Philippe Evrard 2018-01-19 16:29:26 +00:00
parent 58665e5e4e
commit a3cd6db5be
1 changed files with 1 additions and 0 deletions

View File

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