Create more appropriate Nextcloud directory

This commit is contained in:
Salt 2020-02-06 00:53:47 -06:00
parent 4e650f80c2
commit e707695692

View File

@ -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: