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:
|
||||
- "{{ kolibri_home }}" # /library/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:
|
||||
#update_cache: yes
|
||||
name: kolibri
|
||||
state: latest
|
||||
when: internet_available and (kolibri_version is undefined)
|
||||
deb: "{{ kolibri_deb_url }}" # https://learningequality.org/r/kolibri-deb-latest
|
||||
# "Requires the xz-utils package to extract the control file of the deb package to install."
|
||||
when: internet_available | bool
|
||||
#when: kolibri_download_output.dest is defined and (kolibri_version is undefined)
|
||||
|
||||
- name: Install Kolibri {{ kolibri_version }} using apt
|
||||
apt:
|
||||
#update_cache: yes
|
||||
name: "kolibri={{ kolibri_version }}"
|
||||
when: internet_available and kolibri_version is defined
|
||||
#- name: Install Kolibri {{ kolibri_version }} using apt
|
||||
# apt:
|
||||
# #update_cache: yes
|
||||
# name: "kolibri={{ kolibri_version }}"
|
||||
# when: kolibri_download_output.dest is defined and kolibri_version is defined
|
||||
|
||||
#- name: Install latest Kolibri using pip, to venv
|
||||
# pip:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue