1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/7-edu-apps/tasks/main.yml

66 lines
1.8 KiB
YAML
Raw Normal View History

2017-10-27 00:29:28 +00:00
# Educational Apps
2017-10-30 20:37:06 +00:00
- name: ...IS BEGINNING ========================================
meta: noop
2017-05-27 18:09:50 +00:00
- name: KALITE
include_role:
name: kalite
when: kalite_install
2018-07-16 16:13:53 +00:00
- name: KOLIBRI
include_role:
name: kolibri
when: kolibri_install
2018-07-16 16:13:53 +00:00
- name: KIWIX
include_role:
name: kiwix
when: kiwix_install
- name: MOODLE
include_role:
name: moodle
when: moodle_install
- name: OSM-VECTOR-MAPS
include_role:
2019-05-19 16:53:55 +00:00
name: osm-vector-maps
when: osm_vector_maps_install
2019-01-09 22:37:45 +00:00
# UNMAINTAINED
- name: OSM
include_role:
name: osm
2018-09-20 00:06:55 +00:00
when: osm_install is defined and osm_install
2019-01-09 22:37:45 +00:00
# UNMAINTAINED
- name: PATHAGAR
include_role:
name: pathagar
2018-08-30 21:33:05 +00:00
when: pathagar_install is defined and pathagar_install
# WARNING: Since March 2023, 32-bit RasPiOS can act as 64-bit on RPi 4 and
# RPi 400 (unlike RPi 3!) SEE: https://github.com/iiab/iiab/pull/3422 and #3516
- name: Run command 'dpkg --print-architecture' to identify OS architecture (CPU arch as revealed by ansible_architecture ~= ansible_machine is NO LONGER enough!)
command: dpkg --print-architecture
register: dpkg_arch
when: sugarizer_install
- name: Explain bypassing of Sugarizer install if 32-bit OS
fail: # FORCE IT RED THIS ONCE!
msg: "BYPASSING SUGARIZER INSTALL ATTEMPT, as Sugarizer Server 1.5.0 requires MongoDB 3.2+ which is NO LONGER SUPPORTED on 32-bit Raspberry Pi OS. 'dpkg --print-architecture' output for your OS: {{ dpkg_arch.stdout }}"
when: sugarizer_install and not dpkg_arch.stdout is search("64")
ignore_errors: True
- name: SUGARIZER
include_role:
name: sugarizer
when: sugarizer_install and dpkg_arch.stdout is search("64")
2017-10-30 20:37:06 +00:00
- name: Recording STAGE 7 HAS COMPLETED ========================
lineinfile:
path: "{{ iiab_env_file }}"
regexp: '^STAGE=*'
line: 'STAGE=7'