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: Icdfb34cd2044ffb195acf68f036aaeea75630088 Partial-Bug: #1741634
This commit is contained in:
parent
87072e94ab
commit
131ddf78c8
|
@ -97,6 +97,7 @@
|
|||
shell: |
|
||||
find {{ watcher_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ watcher_bin | replace ('/','\/') }}\/python/' {{ watcher_bin }}/*
|
||||
virtualenv {{ watcher_bin | dirname }}
|
||||
when: watcher_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
|
Loading…
Reference in New Issue