From 4ac946c4f2b48873507ff6647cda2f6698164c24 Mon Sep 17 00:00:00 2001 From: Jamie Lennox Date: Tue, 5 Sep 2017 10:38:58 +1000 Subject: [PATCH] Pass correct variables to install bindep The result of creating a temporary directory for bindep is a dictionary of data include mode, uuid, and other things. When installing bindep into that new directory we only want to specify the path to that dir. Change-Id: If98f87ff44356911b78984eb884f7cd65660cebb Signed-off-by: Jamie Lennox --- roles/bindep/tasks/install.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/bindep/tasks/install.yaml b/roles/bindep/tasks/install.yaml index 98b60f58a..1f2307251 100644 --- a/roles/bindep/tasks/install.yaml +++ b/roles/bindep/tasks/install.yaml @@ -9,8 +9,8 @@ - name: install bindep into temporary venv pip: name: bindep - virtualenv: "{{ bindep_temp_dir }}/venv" + virtualenv: "{{ bindep_temp_dir.path }}/venv" - name: Define bindep_found_command set_fact: - bindep_found_command: "{{ bindep_temp_dir }}/venv/bin/bindep" + bindep_found_command: "{{ bindep_temp_dir.path }}/venv/bin/bindep"