mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 11:12:06 +00:00
commit
3651ac666e
2 changed files with 10 additions and 10 deletions
|
@ -8,11 +8,11 @@
|
|||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||
|
||||
|
||||
# April 2024: Currently testing Moodle's main branch is mandatory if your
|
||||
# OS PHP >= 8.3, see moodle/tasks/install.yml for detail! OR, *IF* your
|
||||
# OS PHP < 8.3, then {{ moodle_version }} will be attempted:
|
||||
moodle_version: MOODLE_404_STABLE # Moodle 4.4
|
||||
#moodle_version: main # e.g. to try Moodle's "weekly" 4.5dev pre-release *EVEN IF* OS PHP < 8.4
|
||||
# October 2024: Currently testing Moodle's main branch is mandatory if your
|
||||
# OS PHP >= 8.4, see moodle/tasks/install.yml for detail! OR, *IF* your
|
||||
# OS PHP < 8.4, then {{ moodle_version }} will be attempted:
|
||||
moodle_version: MOODLE_405_STABLE # Moodle 4.5
|
||||
#moodle_version: main # e.g. to try Moodle's "weekly" 4.6dev pre-release *EVEN IF* OS PHP < 8.4
|
||||
moodle_repo_url: https://github.com/moodle/moodle
|
||||
#moodle_repo_url: git://git.moodle.org/moodle.git # 2020-10-16: VERY Slow!
|
||||
|
||||
|
|
|
@ -96,21 +96,21 @@
|
|||
moodle_version: MOODLE_401_STABLE # i.e. Moodle 4.1 LTS
|
||||
when: php_version is version('8.0', '<') or not dpkg_arch.stdout is search("64")
|
||||
|
||||
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~403 MB initially, ~431 MB later) if OS PHP {{ php_version }} < 8.3
|
||||
- name: Download (clone) {{ moodle_repo_url }} branch '{{ moodle_version }}' to {{ moodle_base }} (~476 MB initially, ~504 MB later) if OS PHP {{ php_version }} < 8.4
|
||||
git:
|
||||
repo: "{{ moodle_repo_url }}" # https://github.com/moodle/moodle
|
||||
dest: "{{ moodle_base }}" # /opt/iiab/moodle
|
||||
depth: 1
|
||||
version: "{{ moodle_version }}" # e.g. MOODLE_404_STABLE (Moodle 4.4)
|
||||
when: php_version is version('8.3', '<')
|
||||
when: php_version is version('8.4', '<')
|
||||
|
||||
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'main' to {{ moodle_base }} (~458 MB initially, ~485 MB later) if OS PHP {{ php_version }} >= 8.3"
|
||||
- name: "MOODLE PRE-RELEASE TESTING: Download (clone) {{ moodle_repo_url }} branch 'main' to {{ moodle_base }} (~476 MB initially, ~504 MB later) if OS PHP {{ php_version }} >= 8.4"
|
||||
git:
|
||||
repo: "{{ moodle_repo_url }}"
|
||||
dest: "{{ moodle_base }}"
|
||||
depth: 1
|
||||
version: main # For "weekly" Moodle pre-releases: https://download.moodle.org/releases/development/ (e.g. 3.5beta+ in May 2018, 4.1dev in Sept 2022, 4.2dev in Dec 2022, 4.3dev in May 2023, 4.4dev in Oct 2023, 4.5dev in Apr 2024)
|
||||
when: php_version is version('8.3', '>=')
|
||||
version: main # For "weekly" Moodle pre-releases: https://download.moodle.org/releases/development/ (e.g. 3.5beta+ in May 2018, 4.1dev in Sept 2022, 4.2dev in Dec 2022, 4.3dev in May 2023, 4.4dev in Oct 2023, 4.5dev in Apr 2024, 4.6dev in Oct 2024)
|
||||
when: php_version is version('8.4', '>=')
|
||||
|
||||
- name: chown -R {{ apache_user }}:{{ apache_user }} {{ moodle_base }} (by default dirs 755 & files 644)
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue