diff options
Diffstat (limited to 'roles/nextcloud/tasks/main.yml')
-rw-r--r-- | roles/nextcloud/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index ed898f9..f1e558b 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -88,41 +88,41 @@ register: r3 notify: - Restart Nginx - name: Start Nginx service: name=nginx state=started when: not (r1.changed or r2.changed or r3.changed) - meta: flush_handlers - name: Fetch Nginx's X.509 certificate # Ensure we don't fetch private data become: False fetch_cmd: cmd="openssl x509 -noout -pubkey" stdin=/etc/nginx/ssl/cloud.fripost.org.pem dest=certs/public/cloud.fripost.org.pub tags: - genkey - import_tasks: ldap.yml - when: "'LDAP-provider' not in group_names" + when: "'LDAP_provider' not in group_names" tags: - ldap # Note: intentionally don't set an owner/group as we don't want to set # ownership unless the path is a mountpoint. The service will fail # unless the data directory is mounted and accessible, and that's what # we want. - name: Create directory /mnt/nextcloud-data file: path=/mnt/nextcloud-data state=directory mode=0700 - name: Create directory /var/www/nextcloud file: path=/var/www/nextcloud state=directory owner=root group=root mode=0755 # Note: Nextcloud doesn't like symlinked apps # * https://github.com/nextcloud/server/issues/10437 |