[constellation] Move front dependencies into constellation-front role

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-03-24 14:08:41 +01:00
parent cafbd47fe9
commit a90b8e2eb6
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 11 additions and 6 deletions

View File

@ -1,14 +1,23 @@
---
- name: Install some front packages
- name: Install some front APT packages
apt:
install_recommends: false
update_cache: true
name:
python3-docutils
- python3-django-crispy-forms
python3-django-filters
- python3-djangorestframework
- python3-django-tables2
- python3-docutils
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Install some front pip packages
pip:
name:
- git+https://gitlab.adm.crans.org/nounous/crispy-bootstrap5.git
- name: Install uWSGI
apt:
install_recommends: false

View File

@ -6,11 +6,8 @@
name:
- gettext
- python3-django
- python3-django-crispy-forms
- python3-django-extensions
- python3-django-polymorphic
- python3-djangorestframework
- python3-django-tables2
- python3-ipython
- python3-pip
- python3-psycopg2
@ -21,7 +18,6 @@
- name: Install constellation pip dependencies
pip:
name:
- git+https://gitlab.adm.crans.org/nounous/crispy-bootstrap5.git # FIXME Move into constellation-front
- git+https://gitlab.adm.crans.org/nounous/django-dnsmanager.git
- name: Create constellation directory