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

@ -20,18 +20,26 @@
- "{{ kolibri_home }}" # /library/kolibri - "{{ kolibri_home }}" # /library/kolibri
- "{{ kolibri_venv_path }}" # /usr/local/kolibri - "{{ kolibri_venv_path }}" # /usr/local/kolibri
- name: Install latest Kolibri using apt #- name: Download latest Kolibri .deb installer from {{ kolibri_deb_url }}
apt: # get_url:
#update_cache: yes # name: "{{ kolibri_deb_url }}" # https://learningequality.org/r/kolibri-deb-latest
name: kolibri # dest: "{{ downloads_dir }}"
state: latest # timeout: "{{ download_timeout }}"
when: internet_available and (kolibri_version is undefined) # register: kolibri_download_output
# when: internet_available | bool
- name: Install Kolibri {{ kolibri_version }} 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={{ kolibri_version }}" # "Requires the xz-utils package to extract the control file of the deb package to install."
when: internet_available and kolibri_version is defined 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: 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: