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