Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Configure which pip executable to use with odoo_pip_executable. #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ansible_ssh_pipelining: true

odoo_install_type: standard # standard, buildout
odoo_pip_executable: "pip"
odoo_version: 11.0
odoo_service: odoo
odoo_user: odoo
Expand Down
4 changes: 3 additions & 1 deletion tasks/install_standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
- odoo_packages

- name: Install Odoo dependencies (PyPi)
pip: name={{ item }}
pip:
name: "{{ item }}"
executable: "{{ odoo_pip_executable }}"
with_items: "{{ odoo_pypi_packages }}"
tags:
- odoo_packages
Expand Down
1 change: 1 addition & 0 deletions vars/Ubuntu-16_Odoo-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ odoo_debian_packages:
- python3-xlsxwriter
- python3-yaml

odoo_pip_executable: "pip3"
odoo_pypi_packages:
- psycogreen
- qrcode
Expand Down