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 <jamielennox@gmail.com>
This commit is contained in:
Jamie Lennox 2017-09-05 10:38:58 +10:00
parent 4fdad7a741
commit 4ac946c4f2

View File

@ -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"