Remove redundant pip install task

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

Change-Id: I48d5259befa2e6733e1750f56245ac6e5eff48fe
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-01-22 13:18:03 -05:00
parent f0701463ec
commit c7d82ea426
1 changed files with 5 additions and 6 deletions

View File

@ -19,9 +19,8 @@
repo: "{{ nodepool_git_uri }}"
version: "{{ nodepool_git_version }}"
- name: Pip install nodepool from local git repo.
become: yes
pip:
extra_args: "{{ nodepool_pip_extra_args|default(omit) }}"
name: "file://{{ nodepool_git_dest }}"
virtualenv: "{{ nodepool_pip_virtualenv|default(omit) }}"
- name: Set nodepool_pip_name to local git repo.
set_fact:
nodepool_pip_name: "file://{{ nodepool_git_dest }}"
- include: pip.yaml