Set permissions on nextcloud data dir
This commit is contained in:
parent
452118e2a9
commit
689c0cecd9
1 changed files with 6 additions and 0 deletions
|
@ -40,3 +40,9 @@
|
||||||
chdir: /opt/nextcloud
|
chdir: /opt/nextcloud
|
||||||
cmd: "{{ docker_update_command }}"
|
cmd: "{{ docker_update_command }}"
|
||||||
when: compose_file.changed or config_file.changed
|
when: compose_file.changed or config_file.changed
|
||||||
|
|
||||||
|
- name: Set data dir permissions
|
||||||
|
cron:
|
||||||
|
name: Set nextcloud data permissions
|
||||||
|
special_time: daily
|
||||||
|
job: chown -R {{ docker_user.name }}:{{ docker_user.name }} /srv/nextcloud-data/data/*
|
||||||
|
|
Loading…
Reference in a new issue