From cbf01f694a15d66881b5bfedc519b9a91d0758c5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:14:23 +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: I33906abc0e145dc671c2781924c4c20e9df3ba48 Partial-Bug: #1741634 --- tasks/swift_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/swift_install.yml b/tasks/swift_install.yml index d3cd27dd..7d8583b7 100644 --- a/tasks/swift_install.yml +++ b/tasks/swift_install.yml @@ -115,6 +115,7 @@ shell: | find {{ swift_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ swift_bin | replace ('/','\/') }}\/python/' {{ swift_bin }}/* + virtualenv {{ swift_bin | dirname }} when: swift_get_venv | changed tags: - skip_ansible_lint