mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
38ddf43628
commit
1008ac2736
1 changed files with 18 additions and 10 deletions
|
@ -19,19 +19,27 @@
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ kolibri_home }}" # /library/kolibri
|
- "{{ kolibri_home }}" # /library/kolibri
|
||||||
- "{{ kolibri_venv_path }}" # /usr/local/kolibri
|
- "{{ kolibri_venv_path }}" # /usr/local/kolibri
|
||||||
|
|
||||||
|
#- name: Download latest Kolibri .deb installer from {{ kolibri_deb_url }}
|
||||||
|
# get_url:
|
||||||
|
# name: "{{ kolibri_deb_url }}" # https://learningequality.org/r/kolibri-deb-latest
|
||||||
|
# dest: "{{ downloads_dir }}"
|
||||||
|
# timeout: "{{ download_timeout }}"
|
||||||
|
# register: kolibri_download_output
|
||||||
|
# when: internet_available | bool
|
||||||
|
|
||||||
- name: Install latest Kolibri using apt
|
- name: apt install latest Kolibri .deb from {{ kolibri_deb_url }}
|
||||||
apt:
|
apt:
|
||||||
#update_cache: yes
|
deb: "{{ kolibri_deb_url }}" # https://learningequality.org/r/kolibri-deb-latest
|
||||||
name: kolibri
|
# "Requires the xz-utils package to extract the control file of the deb package to install."
|
||||||
state: latest
|
when: internet_available | bool
|
||||||
when: internet_available and (kolibri_version is undefined)
|
#when: kolibri_download_output.dest is defined and (kolibri_version is undefined)
|
||||||
|
|
||||||
- name: Install Kolibri {{ kolibri_version }} using apt
|
#- name: Install Kolibri {{ kolibri_version }} using apt
|
||||||
apt:
|
# apt:
|
||||||
#update_cache: yes
|
# #update_cache: yes
|
||||||
name: "kolibri={{ kolibri_version }}"
|
# name: "kolibri={{ kolibri_version }}"
|
||||||
when: internet_available and kolibri_version is defined
|
# when: kolibri_download_output.dest is defined and kolibri_version is defined
|
||||||
|
|
||||||
#- name: Install latest Kolibri using pip, to venv
|
#- name: Install latest Kolibri using pip, to venv
|
||||||
# pip:
|
# pip:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue