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