Don't create bindep venv if bindep_file is not found

There is no need to install bindep, if we don't have a bindep file.

Change-Id: I33685e4905ceff23a6b772163ffce1a76143d2eb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-03-30 12:27:36 -04:00
parent 344d7ef6e5
commit 4ce2d40d68

View File

@ -6,7 +6,9 @@
when: bindep_file is defined when: bindep_file is defined
- include: install.yaml - include: install.yaml
when: bindep_command is not defined when:
- bindep_file is defined
- bindep_command is not defined
- name: Define bindep_run fact - name: Define bindep_run fact
set_fact: set_fact: