1
0
Fork 0
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:
A Holt 2019-09-26 19:37:28 -04:00 committed by GitHub
parent 38ddf43628
commit 1008ac2736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: