2020-07-15 05:46:42 +00:00
|
|
|
---
|
2020-09-01 14:32:13 +00:00
|
|
|
- name: Add buster-backports to apt sources
|
|
|
|
apt_repository:
|
|
|
|
repo: deb http://{{ mirror }}/debian buster-backports main
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Install note_kfet APT dependencies
|
2020-07-15 05:46:42 +00:00
|
|
|
apt:
|
|
|
|
update_cache: true
|
2020-09-01 14:32:13 +00:00
|
|
|
default_release: buster-backports
|
2020-09-02 10:57:46 +00:00
|
|
|
install_recommends: false
|
2020-07-15 05:46:42 +00:00
|
|
|
name:
|
2020-09-01 14:32:13 +00:00
|
|
|
# Common tools
|
2020-07-21 20:36:37 +00:00
|
|
|
- gettext
|
2020-09-01 14:32:13 +00:00
|
|
|
- git
|
|
|
|
- ipython3
|
|
|
|
|
|
|
|
# Front-end dependencies
|
2020-09-01 09:23:56 +00:00
|
|
|
- fonts-font-awesome
|
2020-09-01 14:32:13 +00:00
|
|
|
- libjs-bootstrap4
|
|
|
|
|
|
|
|
# Python dependencies
|
|
|
|
- python3-babel
|
2020-09-02 10:57:46 +00:00
|
|
|
- python3-bs4
|
2020-09-01 14:32:13 +00:00
|
|
|
- python3-django
|
|
|
|
- python3-django-cas-server
|
|
|
|
- python3-django-crispy-forms
|
|
|
|
- python3-django-extensions
|
|
|
|
- python3-django-filters
|
|
|
|
- python3-django-polymorphic
|
|
|
|
- python3-djangorestframework
|
|
|
|
- python3-lockfile
|
|
|
|
- python3-phonenumbers
|
|
|
|
- python3-pil
|
|
|
|
- python3-pip
|
|
|
|
- python3-psycopg2
|
2020-09-02 10:57:46 +00:00
|
|
|
- python3-setuptools
|
2020-09-01 14:32:13 +00:00
|
|
|
- python3-venv
|
|
|
|
|
|
|
|
# LaTeX (PDF generation)
|
2020-09-02 10:57:46 +00:00
|
|
|
- texlive-fonts-recommended
|
2020-07-15 05:46:42 +00:00
|
|
|
- texlive-lang-french
|
2020-09-02 10:57:46 +00:00
|
|
|
- texlive-latex-base
|
2020-09-05 08:34:19 +00:00
|
|
|
- texlive-latex-recommended
|
2020-09-01 14:32:13 +00:00
|
|
|
|
|
|
|
# WSGI server
|
|
|
|
- uwsgi
|
|
|
|
- uwsgi-plugin-python3
|
2020-07-15 07:27:11 +00:00
|
|
|
register: pkg_result
|
|
|
|
retries: 3
|
|
|
|
until: pkg_result is succeeded
|