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