Default gear_pip_executable to pip3
Moving forward, we'll only support gear under python3. Change-Id: Id1593b33ff88f9fb6cf92c6eb209a5acbb0ae164 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
0d29b28e64
commit
de768e85b3
@ -17,6 +17,8 @@ A pure-Python asynchronous library to interface with Gearman.
|
||||
Requirements
|
||||
------------
|
||||
|
||||
* pip3 to be installed if using gear_install_method: (git|pip)
|
||||
|
||||
Packages
|
||||
~~~~~~~~
|
||||
|
||||
|
@ -25,4 +25,12 @@
|
||||
with_items: "{{ gear_build_depends }}"
|
||||
when: gear_install_method == 'git'
|
||||
|
||||
- name: Define gear_pip_executable if needed.
|
||||
set_fact:
|
||||
gear_pip_executable: pip3
|
||||
when:
|
||||
- gear_install_method == 'git' or gear_install_method == 'pip'
|
||||
- gear_pip_virtualenv_python is not defined
|
||||
- gear_pip_executable is not defined
|
||||
|
||||
- include: "install/{{ gear_install_method }}.yaml"
|
||||
|
Loading…
Reference in New Issue
Block a user