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:
parent
f0701463ec
commit
c7d82ea426
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue