From a39d15172b8f65d7cabb761bfc16ca7d163df209 Mon Sep 17 00:00:00 2001 From: Travis Truman Date: Fri, 8 Jul 2016 13:29:31 -0400 Subject: [PATCH] Update the virtualenv paths only when we have a new venv This fixes an omission in I21ebc977f3c6d97853150e8b42bcd35ab4c2ef09 Change-Id: I42a28ce7c9d4a1159b093ed79f5f8f1a3ad1c12b --- tasks/cinder_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/cinder_install.yml b/tasks/cinder_install.yml index 470aa993..d4f63b8a 100644 --- a/tasks/cinder_install.yml +++ b/tasks/cinder_install.yml @@ -186,6 +186,7 @@ virtualenv-tools --update-path=auto {{ cinder_bin | dirname }} when: - not cinder_developer_mode | bool + - cinder_get_venv | success tags: - cinder-install - cinder-pip-packages