mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Encourage pre-release testing of Moodle 4.1 LTS if PHP >= 8.1
This commit is contained in:
parent
5972e5e703
commit
b6e515e858
3 changed files with 18 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
||||||
- name: MOODLE
|
- name: MOODLE
|
||||||
include_role:
|
include_role:
|
||||||
name: moodle
|
name: moodle
|
||||||
when: moodle_install and not is_ubuntu_2204 and not is_ubuntu_2210 # TEMPORARY
|
when: moodle_install
|
||||||
|
|
||||||
- name: OSM-VECTOR-MAPS
|
- name: OSM-VECTOR-MAPS
|
||||||
include_role:
|
include_role:
|
||||||
|
|
|
@ -7,7 +7,12 @@
|
||||||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||||
|
|
||||||
moodle_version: 400
|
|
||||||
|
# 2022-09-27: Currently testing Moodle's master branch is mandatory if your
|
||||||
|
# OS PHP >= 8.1 -- see moodle/tasks/install.yml for detail!
|
||||||
|
# (Any moodle_version setting below applies IF-AND-ONLY-IF your OS PHP < 8.1)
|
||||||
|
#moodle_version: master # Try Moodle's "weekly" 4.1dev pre-release, even if OS PHP < 8.1
|
||||||
|
moodle_version: MOODLE_400_STABLE # Use Moodle 4.0
|
||||||
moodle_repo_url: https://github.com/moodle/moodle
|
moodle_repo_url: https://github.com/moodle/moodle
|
||||||
#moodle_repo_url: git://git.moodle.org/moodle.git # 2020-10-16: VERY Slow!
|
#moodle_repo_url: git://git.moodle.org/moodle.git # 2020-10-16: VERY Slow!
|
||||||
|
|
||||||
|
|
|
@ -43,14 +43,21 @@
|
||||||
- php{{ php_version }}-zip # 2021-06-27: Likewise installed in nextcloud/tasks/install.yml, pbx/tasks/freepbx_dependencies.yml, wordpress/tasks/install.yml
|
- php{{ php_version }}-zip # 2021-06-27: Likewise installed in nextcloud/tasks/install.yml, pbx/tasks/freepbx_dependencies.yml, wordpress/tasks/install.yml
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Download (clone) {{ moodle_repo_url }} to {{ moodle_base }} (~370 MB initially, ~390 MB later)
|
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'master' to {{ moodle_base }} (~370 MB initially, ~390 MB later) if OS PHP {{ php_version }} >= 8.1"
|
||||||
git:
|
git:
|
||||||
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
|
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
|
||||||
dest: "{{ moodle_base }}" # /opt/iiab/moodle
|
dest: "{{ moodle_base }}" # /opt/iiab/moodle
|
||||||
depth: 1
|
depth: 1
|
||||||
version: "MOODLE_{{ moodle_version }}_STABLE"
|
version: master # For "weekly" Moodle pre-releases: https://download.moodle.org/releases/development/ (e.g. 3.5beta+ in May 2018, 4.1dev in Sept 2022)
|
||||||
#version: master # TEMPORARY DURING MAY 2018 TESTING, installed 3.5beta+ = https://download.moodle.org/releases/development/
|
when: php_version is version('8.1', '>=')
|
||||||
#ignore_errors: yes
|
|
||||||
|
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~370 MB initially, ~390 MB later) if OS PHP {{ php_version }} < 8.1
|
||||||
|
git:
|
||||||
|
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
|
||||||
|
dest: "{{ moodle_base }}" # /opt/iiab/moodle
|
||||||
|
depth: 1
|
||||||
|
version: "{{ moodle_version }}" # e.g. master or MOODLE_400_STABLE
|
||||||
|
when: php_version is version('8.1', '<')
|
||||||
|
|
||||||
- name: chown -R {{ apache_user }}:{{ apache_user }} {{ moodle_base }} (by default dirs 755 & files 644)
|
- name: chown -R {{ apache_user }}:{{ apache_user }} {{ moodle_base }} (by default dirs 755 & files 644)
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue