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: I33906abc0e145dc671c2781924c4c20e9df3ba48 Partial-Bug: #1741634
This commit is contained in:
parent
ae5def5f8f
commit
cbf01f694a
@ -115,6 +115,7 @@
|
|||||||
shell: |
|
shell: |
|
||||||
find {{ swift_bin }} -name \*.pyc -delete
|
find {{ swift_bin }} -name \*.pyc -delete
|
||||||
sed -si '1s/^.*python.*$/#!{{ swift_bin | replace ('/','\/') }}\/python/' {{ swift_bin }}/*
|
sed -si '1s/^.*python.*$/#!{{ swift_bin | replace ('/','\/') }}\/python/' {{ swift_bin }}/*
|
||||||
|
virtualenv {{ swift_bin | dirname }}
|
||||||
when: swift_get_venv | changed
|
when: swift_get_venv | changed
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user