Don't install diskimage_builder_build_depends for pip

When installing diskimage-buider from pip (pypi.python.org) there is
no need to install the build dependencies as we download the wheel.

Change-Id: I8a40bee4701bd72482e10ec5faf054ead26cbddb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-13 20:24:52 -04:00
parent a869c8661e
commit c4a7ba26bb
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@
name: "{{ item }}"
state: installed
with_items: "{{ diskimage_builder_build_depends }}"
when: diskimage_builder_install_method == 'git' or diskimage_builder_install_method == 'pip'
when: diskimage_builder_install_method == 'git'
- name: Ensure dependencies are installed.
become: yes