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:
Paul Belanger 2018-04-13 23:17:43 -04:00
parent 0d29b28e64
commit de768e85b3
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 10 additions and 0 deletions

View File

@ -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
~~~~~~~~

View File

@ -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"