1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Revert to Moodle 4.1 if PHP 7 + toughen Moodle/Nextcloud

This commit is contained in:
root 2023-04-30 14:25:30 -04:00
parent 38083b4314
commit 0324dfb918
2 changed files with 31 additions and 9 deletions

View file

@ -98,10 +98,10 @@
state: directory
path: "{{ nextcloud_root_dir }}" # /library/www/nextcloud
- name: "2023-03-24: NEXTCLOUD 26 REQUIRES PHP 8 -- SO THIS TEMPORARY PATCH INSTALLS THE OLDER NEXTCLOUD 25 ON OS's WITH PHP <= 7.4 -- WHOSE END-OF-LIFE WAS NOVEMBER 2022"
- name: "2023-03-24: NEXTCLOUD 26 REQUIRES PHP 8 -- SO THIS TEMPORARY PATCH INSTALLS THE OLDER NEXTCLOUD 25 ON OS's WITH PHP 7.x -- WHOSE END-OF-LIFE WAS NOVEMBER 2022"
set_fact:
nextcloud_dl_url: https://download.nextcloud.com/server/releases/latest-25.tar.bz2
when: php_version is version('7.4', '<=')
when: php_version is version('8.0', '<')
- name: Unarchive {{ nextcloud_dl_url }} (~140 MB) to {{ nextcloud_root_dir }} (~519 MB initially, sometimes ~543 MB later, {{ apache_user }}:{{ apache_user }})
unarchive: