diff --git a/nextcloud/tasks/nextcloud-install.yml b/nextcloud/tasks/nextcloud-install.yml index 84555a22..a9cff53f 100644 --- a/nextcloud/tasks/nextcloud-install.yml +++ b/nextcloud/tasks/nextcloud-install.yml @@ -11,7 +11,7 @@ get_url: url={{ nextcloud_download_url }} dest=/srv/{{ nextcloud_dist_filename }} - name: Unpack the nextcloud archive - unarchive: remote_src=yes src=/srv/{{ nextcloud_dist_filename }} dest={{ item.doc_root }} owner={{ item.user }} group={{ item.user }} + unarchive: remote_src=yes src=/srv/{{ nextcloud_dist_filename }} dest={{ nextcloud_web_basedir }} owner={{ item.user }} group={{ item.user }} args: creates: '{{ item.doc_root }}/index.php' with_items: '{{ phpfpm_pools }}'