diff --git a/roles/constellation-front/tasks/main.yml b/roles/constellation-front/tasks/main.yml index 38726d0d..b7001e03 100644 --- a/roles/constellation-front/tasks/main.yml +++ b/roles/constellation-front/tasks/main.yml @@ -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 diff --git a/roles/constellation/tasks/main.yml b/roles/constellation/tasks/main.yml index 3023bfc2..8902ad42 100644 --- a/roles/constellation/tasks/main.yml +++ b/roles/constellation/tasks/main.yml @@ -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