From cf7101fc0f60b2c3ccf37a33d76b0a62ef3a1cb3 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Wed, 2 Sep 2020 12:57:46 +0200 Subject: [PATCH] Less deps in README and ansible role --- README.md | 6 ++++-- ansible/roles/1-apt-basic/tasks/main.yml | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee843d08..fb3cad6e 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,14 @@ Sinon vous pouvez suivre les étapes ici. ```bash $ sudo apt update - $ sudo apt install -t buster-backports -y python3-django python3-django-crispy-forms \ + $ sudo apt install --no-install-recommends -t buster-backports -y \ + python3-django python3-django-crispy-forms \ python3-django-extensions python3-django-filters python3-django-polymorphic \ python3-djangorestframework python3-django-cas-server python3-psycopg2 python3-pil \ python3-babel python3-lockfile python3-pip python3-phonenumbers ipython3 \ + python3-bs4 python3-setuptools \ uwsgi uwsgi-plugin-python3 \ - texlive-latex-extra texlive-fonts-extra texlive-lang-french \ + texlive-latex-base texlive-lang-french lmodern texlive-fonts-recommended \ gettext libjs-bootstrap4 fonts-font-awesome \ nginx python3-venv git acl ``` diff --git a/ansible/roles/1-apt-basic/tasks/main.yml b/ansible/roles/1-apt-basic/tasks/main.yml index f0ac56b2..fa51de34 100644 --- a/ansible/roles/1-apt-basic/tasks/main.yml +++ b/ansible/roles/1-apt-basic/tasks/main.yml @@ -8,6 +8,7 @@ apt: update_cache: true default_release: buster-backports + install_recommends: false name: # Common tools - gettext @@ -20,6 +21,7 @@ # Python dependencies - python3-babel + - python3-bs4 - python3-django - python3-django-cas-server - python3-django-crispy-forms @@ -32,12 +34,13 @@ - python3-pil - python3-pip - python3-psycopg2 + - python3-setuptools - python3-venv # LaTeX (PDF generation) - - texlive-fonts-extra + - texlive-fonts-recommended - texlive-lang-french - - texlive-latex-extra + - texlive-latex-base # WSGI server - uwsgi