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

Refactor: Run kolibri migrations task

Run kolibri migrations as part of the kolibri setup itself. This makes
kolibri.service initial run faster on low-end Raspberry Pi devices.

"Unable to start service kolibri: Job for kolibri.service failed because
a timeout was exceeded." #1158

https://github.com/iiab/iiab/issues/1158
This commit is contained in:
Arky 2018-09-23 12:17:26 +07:00
parent e1e0f8ce53
commit 33f3a85de0

View file

@ -29,8 +29,8 @@
extra_args: --no-cache-dir
when: internet_available
- name: Set kolibri default language
shell: export KOLIBRI_HOME="{{ kolibri_home }}" && "{{ kolibri_exec_path }}" language setdefault "{{ kolibri_language }}"
- name: Run kolibri migrations
shell: export KOLIBRI_HOME="{{ kolibri_home }}" && "{{ kolibri_exec_path }}" manage migrate
ignore_errors: yes
when: kolibri_provision