Merge "Reinitialize the virtualenv"

This commit is contained in:
Zuul 2018-01-19 20:12:20 +00:00 committed by Gerrit Code Review
commit 07d102863b
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@
shell: |
find {{ octavia_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ octavia_bin | replace ('/','\/') }}\/python/' {{ octavia_bin }}/*
virtualenv {{ octavia_bin | dirname }}
when:
- not octavia_developer_mode | bool
- octavia_get_venv | changed or octavia_venv_dir | changed