Create more appropriate Nextcloud directory
This commit is contained in:
parent
4e650f80c2
commit
e707695692
@ -81,8 +81,11 @@
|
||||
extra_opts: [--strip-components=1]
|
||||
- name: Create data directory
|
||||
file:
|
||||
path: "{{ nextcloud_webroot }}/data"
|
||||
path: "/var/nextcloud"
|
||||
state: directory
|
||||
mode: 0700
|
||||
owner: www-data
|
||||
group: www-data
|
||||
- name: Chown webroot
|
||||
# Nextcloud docs say Apache needs write access, so it gets write access
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user