Installs psycopg2 from source in pip

This commit is contained in:
Jorge Enrique Gómez Gómez 2020-10-14 17:16:20 -05:00
parent 597925c05d
commit ca84f00249

View File

@ -42,7 +42,6 @@
- progressbar2
- xlrd
- GitPython==0.3.2
- psycopg2-binary==2.8.6
- pycups==1.9.74
- name: Prepare folders for Odoo
@ -63,6 +62,12 @@
dest: /opt
depth: 1
- name: Change installation method for Psycopg2
lineinfile:
path: /opt/odoo_agofer/requirements.txt
line: 'psycopg2==2.7.1 --no-binary psycopg2'
regexp: 'psycopg2'
- name: Install python requirements for Odoo
pip:
virtualenv: /home/odoo/.virtualenvs/odoo