Remove redundant pip install task

We can clean up our install task by using an include.

Change-Id: Ic703ec032a67efef65bc5f090ada688c08ebfd8a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-05-26 21:55:34 -04:00
parent 8e5b9d3ec6
commit 872043b873
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 5 additions and 7 deletions

View File

@ -19,10 +19,8 @@
repo: "{{ zuul_git_uri }}"
version: "{{ zuul_git_version }}"
- name: Pip install zuul from local git repo.
become: yes
pip:
extra_args: "{{ zuul_pip_extra_args|default(omit) }}"
name: "file://{{ zuul_git_dest }}"
virtualenv_python: "{{ zuul_pip_virtualenv_python|default(omit) }}"
virtualenv: "{{ zuul_pip_virtualenv|default(omit) }}"
- name: Set zuul_pip_name to local git repo.
set_fact:
zuul_pip_name: "file://{{ zuul_git_dest }}"
- include: pip.yaml