From 5e0f66b63e5438d9954895908b2537757307d86f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:12:27 +0000 Subject: [PATCH] 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: I2c28ba14626e76180fb8e9b93b9a3cbf4bf86014 Partial-Bug: #1741634 --- tasks/neutron_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index 80cdf8c4..8a28ff85 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -117,6 +117,7 @@ shell: | find {{ neutron_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ neutron_bin | replace ('/','\/') }}\/python/' {{ neutron_bin }}/* + virtualenv {{ neutron_bin | dirname }} when: neutron_get_venv | changed tags: - skip_ansible_lint