Move nextcloud config into root
This commit is contained in:
parent
c80d4b7e04
commit
1c99477ce9
2 changed files with 3 additions and 10 deletions
|
@ -8,8 +8,8 @@ services:
|
|||
- PGID={{ docker_user.id }}
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- ./nextcloud/config:/config/www/nextcloud/config
|
||||
- ./nextcloud/apps:/config/www/nextcloud/apps
|
||||
- ./apps:/config/www/nextcloud/apps
|
||||
- ./config.php:/config/www/nextcloud/config/config.php
|
||||
- /srv/nextcloud-data/data:/data
|
||||
- /opt/gitea/repos:/repos:ro
|
||||
- /mnt/media:/content:ro
|
||||
|
|
|
@ -19,17 +19,10 @@
|
|||
register: compose_file
|
||||
become: true
|
||||
|
||||
- name: Create nextcloud config directory
|
||||
file:
|
||||
path: /opt/nextcloud/nextcloud/config
|
||||
state: directory
|
||||
mode: "{{ docker_compose_directory_mask }}"
|
||||
become: true
|
||||
|
||||
- name: Install nextcloud config
|
||||
template:
|
||||
src: files/nextcloud/config.php
|
||||
dest: /opt/nextcloud/nextcloud/config/config.php
|
||||
dest: /opt/nextcloud/config.php
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
register: config_file
|
||||
|
|
Loading…
Reference in a new issue