From 05920f74194dc7132a871e051e7aac025d5b05f2 Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 4 Jul 2019 20:52:51 -0400 Subject: [PATCH] nextcloud_force_install no longer nec! --- roles/nextcloud/tasks/install.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/nextcloud/tasks/install.yml b/roles/nextcloud/tasks/install.yml index 65bb5c31a..efdd7c04e 100644 --- a/roles/nextcloud/tasks/install.yml +++ b/roles/nextcloud/tasks/install.yml @@ -43,7 +43,7 @@ #poll: 10 tags: - download - when: internet_available and nextcloud_force_install and not php_new + when: internet_available and not php_new #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+ @@ -57,7 +57,7 @@ #poll: 10 tags: - download - when: internet_available and nextcloud_force_install and php_new + when: internet_available and php_new #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 @@ -123,7 +123,7 @@ src: "{{ downloads_dir }}/{{ nextcloud_src_file_old }}" dest: "{{ nextcloud_prefix }}" #creates: "{{ nextcloud_prefix }}/nextcloud/version.php" - when: nextcloud_force_install and not php_new + when: not php_new #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+ # i.e. unpack nextcloud_latest-16.tar.bz2 to /opt/nextcloud @@ -131,7 +131,7 @@ src: "{{ downloads_dir }}/{{ nextcloud_src_file }}" dest: "{{ nextcloud_prefix }}" #creates: "{{ nextcloud_prefix }}/nextcloud/version.php" - when: nextcloud_force_install and php_new + when: php_new | bool #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 ? @@ -207,8 +207,8 @@ value: '"NextCloud is a local server-based facility for sharing files, photos, contacts, calendars, etc."' - option: path value: "{{ nextcloud_prefix }}/nextcloud" - - option: nextcloud_force_install - value: "{{ nextcloud_force_install }}" + #- option: nextcloud_force_install + # value: "{{ nextcloud_force_install }}" - option: nextcloud_orig_src_file value: "{{ nextcloud_orig_src_file }}" - option: nextcloud_src_file