summaryrefslogtreecommitdiffstats
path: root/roles/nextcloud
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-19 06:04:47 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-19 06:07:43 +0200
commitc9ecd815b4b77a57589f3588eba6c7d8ddfac020 (patch)
treed5c40f41b1f0357c4810805c5f78be113974d30e /roles/nextcloud
parentf105bfbac726cc6cdd6b8cb2edf0188ad6070016 (diff)
s/LDAP-provider/LDAP_provider/
This was forgotten after a092bfd947773281a23419ee0ab62358371b7166.
Diffstat (limited to 'roles/nextcloud')
-rw-r--r--roles/nextcloud/tasks/main.yml2
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