1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-01-16 21:21:17 +00:00

54 lines
1.2 KiB
YAML
Raw Normal View History

---
2020-09-01 16:32:13 +02:00
- name: Add buster-backports to apt sources
apt_repository:
repo: deb http://{{ mirror }}/debian buster-backports main
state: present
2020-10-30 16:59:44 +01:00
when: ansible_facts['distribution'] == "Debian"
2020-09-01 16:32:13 +02:00
- name: Install note_kfet APT dependencies
apt:
update_cache: true
2020-10-30 16:59:44 +01:00
default_release: "{{ 'buster-backports' if ansible_facts['distribution'] == 'Debian' }}"
2020-09-02 12:57:46 +02:00
install_recommends: false
name:
2020-09-01 16:32:13 +02:00
# Common tools
2020-07-21 22:36:37 +02:00
- gettext
2020-09-01 16:32:13 +02:00
- git
- ipython3
# Front-end dependencies
2020-09-01 11:23:56 +02:00
- fonts-font-awesome
2020-09-01 16:32:13 +02:00
- libjs-bootstrap4
# Python dependencies
- python3-babel
2020-09-02 12:57:46 +02:00
- python3-bs4
2020-09-01 16:32:13 +02:00
- python3-django
- python3-django-crispy-forms
- python3-django-extensions
- python3-django-filters
- python3-django-oauth-toolkit
2020-09-01 16:32:13 +02:00
- python3-django-polymorphic
- python3-djangorestframework
- python3-lockfile
2020-09-21 15:13:43 +02:00
- python3-memcache
2020-09-01 16:32:13 +02:00
- python3-phonenumbers
- python3-pil
- python3-pip
- python3-psycopg2
2020-09-02 12:57:46 +02:00
- python3-setuptools
2020-09-01 16:32:13 +02:00
- python3-venv
# LaTeX (PDF generation)
2020-09-06 15:30:12 +02:00
- texlive-xetex
2020-09-01 16:32:13 +02:00
2020-09-21 15:13:43 +02:00
# Cache server
- memcached
2020-09-01 16:32:13 +02:00
# WSGI server
- uwsgi
- uwsgi-plugin-python3
2020-07-15 09:27:11 +02:00
register: pkg_result
retries: 3
until: pkg_result is succeeded