1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #1735 from holta/kolibri-0.12.3

Revert to Kolibri 0.12.3, due to Kolibri 0.12.4 bug
This commit is contained in:
A Holt 2019-06-13 17:39:32 -04:00 committed by GitHub
commit 7adcd9b9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -6,6 +6,9 @@
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
# Just comment out this pinning line if you want Kolibri's "latest" version, after 0.12.4's bug is resolved: https://github.com/iiab/iiab/issues/1675 https://github.com/learningequality/kolibri/issues/5664
kolibri_version: 0.12.3
# Kolibri folder to store its data and configuration files.
kolibri_home: "{{ content_base }}/kolibri" # /library/kolibri

View file

@ -27,7 +27,16 @@
virtualenv_site_packages: no
state: latest
extra_args: --no-cache-dir
when: internet_available | bool
when: internet_available and not (kolibri_version is defined)
- name: Install kolibri {{ kolibri_version }} using pip
pip:
name: kolibri
virtualenv: "{{ kolibri_venv_path }}"
virtualenv_site_packages: no
version: "{{ kolibri_version }}"
extra_args: --no-cache-dir
when: internet_available and kolibri_version is defined
- name: Run Kolibri migrations
shell: export KOLIBRI_HOME="{{ kolibri_home }}" && "{{ kolibri_exec_path }}" manage migrate