From fca90c2398f9d76e7464b4fa1ea9f1801845e79b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 19 Jan 2018 16:18:00 +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: I63efb84603b6503e1f2f171681c6f842a52a9de2 Partial-Bug: #1741634 --- tasks/ironic_install.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/ironic_install.yml b/tasks/ironic_install.yml index b4a3a7c1..76aeabba 100644 --- a/tasks/ironic_install.yml +++ b/tasks/ironic_install.yml @@ -112,6 +112,7 @@ shell: | find {{ ironic_bin }} -name \*.pyc -delete sed -si '1s/^.*python.*$/#!{{ ironic_bin | replace ('/','\/') }}\/python/' {{ ironic_bin }}/* + virtualenv {{ ironic_bin | dirname }} when: ironic_get_venv | changed tags: - skip_ansible_lint