Update the virtualenv paths only when we have a new venv
This re-adds when clauses to the 'Update virtualenv path' task that were removed in Icfdfe3a6d47413875a49af3c38537fbd342bc16a Change-Id: I7160f0336368d4a46c07a05a181f04e0d4569013
This commit is contained in:
parent
2201cf871f
commit
374ace641d
@ -184,7 +184,9 @@
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto {{ glance_bin | dirname }}
|
||||
when:
|
||||
- not glance_developer_mode | bool
|
||||
- glance_get_venv | success
|
||||
tags:
|
||||
- glance-install
|
||||
- glance-pip-packages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user