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
|
@ -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
|
||||
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:
|
||||
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
|
||||
dest: "{{ moodle_base }}" # /opt/iiab/moodle
|
||||
depth: 1
|
||||
version: "MOODLE_{{ moodle_version }}_STABLE"
|
||||
#version: master # TEMPORARY DURING MAY 2018 TESTING, installed 3.5beta+ = https://download.moodle.org/releases/development/
|
||||
#ignore_errors: yes
|
||||
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)
|
||||
when: php_version is version('8.1', '>=')
|
||||
|
||||
- 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)
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue