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