mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
pip install {{ kolibri_version }} if var's defined
This commit is contained in:
parent
f8e431cd19
commit
e53efbdd3c
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue