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

Merge pull request #3511 from holta/nextcloud-php

TEMPORARY PATCH: Installs older Nextcloud 25 on PHP 7.4 OS's
This commit is contained in:
A Holt 2023-03-24 19:57:47 -04:00 committed by GitHub
commit a46b089f8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,11 @@
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"
set_fact:
nextcloud_dl_url: https://download.nextcloud.com/server/releases/latest-25.tar.bz2
when: php_version is version('7.4', '<=')
- name: Unarchive {{ nextcloud_dl_url }} (~140 MB) to {{ nextcloud_root_dir }} (~519 MB initially, sometimes ~543 MB later, {{ apache_user }}:{{ apache_user }})
unarchive:
remote_src: yes # Overwrite even if "already exists on the target"