From 0c4aef57ad86c8ff023111284a3cf170caaa0164 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 4 Jul 2019 11:30:08 -0400 Subject: [PATCH] Ubuntu 16.04 lacks PHP 7.1, so requires Nextcloud 15 --- roles/nextcloud/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 2487b1e91..71d8521ee 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -25,7 +25,7 @@ #poll: 10 tags: - download - when: internet_available and nextcloud_force_install and (is_debian_9 or is_raspbian_9) + when: internet_available and nextcloud_force_install and (is_debian_9 or is_raspbian_9 or is_ubuntu_16) - name: Download {{ nextcloud_dl_url }}/{{ nextcloud_orig_src_file }} to {{ downloads_dir }}/{{ nextcloud_src_file }} on newer OS's that have PHP 7.1+ get_url: @@ -38,7 +38,7 @@ #poll: 10 tags: - download - when: internet_available and nextcloud_force_install and not (is_debian_9 or is_raspbian_9) + when: internet_available and nextcloud_force_install and not (is_debian_9 or is_raspbian_9 or is_ubuntu_16) # Ubuntu and Debian treat names differently - name: Install 3 php packages (debian) @@ -103,14 +103,14 @@ src: "{{ downloads_dir }}/{{ nextcloud_src_file_old }}" dest: "{{ nextcloud_prefix }}" #creates: "{{ nextcloud_prefix }}/nextcloud/version.php" - when: nextcloud_force_install and (is_debian_9 or is_raspbian_9) + when: nextcloud_force_install and (is_debian_9 or is_raspbian_9 or is_ubuntu_16) - name: Unarchive {{ nextcloud_src_file }} to permanent location {{ nextcloud_prefix }}/nextcloud on newer OS's that have PHP 7.1+ # e.g. unpack nextcloud_latest-16.tar.bz2 to /opt/nextcloud unarchive: src: "{{ downloads_dir }}/{{ nextcloud_src_file }}" dest: "{{ nextcloud_prefix }}" #creates: "{{ nextcloud_prefix }}/nextcloud/version.php" - when: nextcloud_force_install and not (is_debian_9 or is_raspbian_9) + when: nextcloud_force_install and not (is_debian_9 or is_raspbian_9 or is_ubuntu_16) - name: Create dir /etc/nextcloud (centos) for a subsequent config dir that's symlinked to /etc/nextcloud ? file: