nextcloud: fix the path of the base data directory.

This commit is contained in:
Andrea Dell'Amico 2019-03-26 17:43:10 +01:00
parent aef871b4c0
commit ae515277ad
2 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,9 @@ nextcloud_use_redis: True
nextcloud_use_memcache: False
nextcloud_web_basedir: /var/www
nextcloud_web_root: '{{ nextcloud_web_basedir }}/nextcloud'
nextcloud_data_dir: /srv/nextcloud/data
nextcloud_oc_dir: /srv/nextcloud/oc_keys
nextcloud_data_base_dir: /srv
nextcloud_data_dir: '{{ nextcloud_data_base_dir }}/nextcloud/data'
nextcloud_oc_dir: '{{ nextcloud_data_base_dir }}/nextcloud/oc_keys'
nextcloud_servername: '{{ ansible_fqdn }}'
nextcloud_servernames:
- { webroot: '{{ nextcloud_web_root }}', id: 1, name: '{{ nextcloud_servername }}' }

View File

@ -1,6 +1,6 @@
---
dependencies:
- { role: '../../library/roles/postgresql', when: psql_postgresql_install }
- { role: '../../library/roles/postgresql' }
- { role: '../../library/roles/php-fpm' }
- { role: '../../library/roles/nginx' }
- { role: '../../library/roles/redis', when nextcloud_use_redis }