@@ -1562,15 +1562,15 @@ Before we start, here is a couple of useful pointers regarding the
- name: Download the application archive
get_url:
url: "https://download.nextcloud.com/server/releases/nextcloud-20.0.14.tar.bz2"
dest: "/var/www/nextcloud.example.com/nextcloud-20.0.14.tar.gz"
sha256sum: "09652c459c99e0b77dbd91603151715c6cd09e4f4abbdecb64f495581af09367"
url: "https://download.nextcloud.com/server/releases/nextcloud-28.0.3.tar.bz2"
dest: "/var/www/nextcloud.example.com/nextcloud-28.0.3.tar.gz"
sha256sum: "9ed413c0de16f5b033ceeffcca99c0d61fc698dbeb8db851ac9adf9eef951906"
become: yes
become_user: admin-nextcloud_example_com
- name: Unpack the application archive
unarchive:
src: "/var/www/nextcloud.example.com/nextcloud-20.0.14.tar.gz"
src: "/var/www/nextcloud.example.com/nextcloud-28.0.3.tar.gz"
dest: "/var/www/nextcloud.example.com/"
copy: no
creates: "/var/www/nextcloud.example.com/nextcloud"
@@ -1647,7 +1647,7 @@ Before we start, here is a couple of useful pointers regarding the
- name: Check if application is installed
set_fact:
nextcloud_installed: "{{ 'Nextcloud is not installed' not in nextcloud_status.stdout }}"
nextcloud_installed: "{{ 'Nextcloud is not installed' not in nextcloud_status.stderr }}"
- name: Deploy installation script
copy: