|
|
@ -6,6 +6,8 @@ |
|
|
|
- rh-python38-python-pip |
|
|
|
- rh-python38-python-pip |
|
|
|
- rh-python38-python-setuptools |
|
|
|
- rh-python38-python-setuptools |
|
|
|
- rh-python38-python-devel |
|
|
|
- rh-python38-python-devel |
|
|
|
|
|
|
|
- python-setuptools |
|
|
|
|
|
|
|
- python-psycopg2 |
|
|
|
- postgresql-devel |
|
|
|
- postgresql-devel |
|
|
|
- tesseract |
|
|
|
- tesseract |
|
|
|
- tesseract-langpack-fra |
|
|
|
- tesseract-langpack-fra |
|
|
@ -54,8 +56,7 @@ |
|
|
|
pip: |
|
|
|
pip: |
|
|
|
requirements: "{{ papermerge_root_dir }}/app/requirements/base.txt" |
|
|
|
requirements: "{{ papermerge_root_dir }}/app/requirements/base.txt" |
|
|
|
virtualenv: "{{ papermerge_root_dir }}/venv" |
|
|
|
virtualenv: "{{ papermerge_root_dir }}/venv" |
|
|
|
virtualenv_command: /opt/rh/rh-python38/root/usr/local/bin/virtualenv |
|
|
|
virtualenv_command: /opt/rh/rh-python38/root/bin/python -m venv |
|
|
|
virtualenv_python: /opt/rh/rh-python38/root/bin/python |
|
|
|
|
|
|
|
notify: restart papermerge |
|
|
|
notify: restart papermerge |
|
|
|
|
|
|
|
|
|
|
|
- name: Install additional python modules |
|
|
|
- name: Install additional python modules |
|
|
@ -64,8 +65,7 @@ |
|
|
|
- psycopg2-binary # building fails here, Python.h not found (??) |
|
|
|
- psycopg2-binary # building fails here, Python.h not found (??) |
|
|
|
- gunicorn |
|
|
|
- gunicorn |
|
|
|
virtualenv: "{{ papermerge_root_dir }}/venv" |
|
|
|
virtualenv: "{{ papermerge_root_dir }}/venv" |
|
|
|
virtualenv_command: /opt/rh/rh-python38/root/usr/local/bin/virtualenv |
|
|
|
virtualenv_command: /opt/rh/rh-python38/root/usr/bin/python -m venv |
|
|
|
virtualenv_python: /opt/rh/rh-python38/root/bin/python |
|
|
|
|
|
|
|
notify: restart papermerge |
|
|
|
notify: restart papermerge |
|
|
|
tags: ged |
|
|
|
tags: ged |
|
|
|
|
|
|
|
|
|
|
@ -114,3 +114,6 @@ |
|
|
|
mode: 755 |
|
|
|
mode: 755 |
|
|
|
tags: ged |
|
|
|
tags: ged |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Set permission on the queue dir |
|
|
|
|
|
|
|
file: path={{ papermerge_root_dir }}/tmp/queue state=directory owner={{ papermerge_user }} group={{ papermerge_user }} |
|
|
|
|
|
|
|
tags: ged |
|
|
|