webapps/nextcloud: Set owner and mode once mounted
This commit is contained in:
parent
df05c9550b
commit
2bc83052b8
|
@ -47,3 +47,10 @@
|
|||
fstype: ext4
|
||||
opts: defaults,noexec,nosuid,nodev,relatime,lazytime
|
||||
state: mounted
|
||||
|
||||
- name: Set volume's root permissions and ownership
|
||||
ansible.builtin.file:
|
||||
path: "{{ nextcloud_data }}"
|
||||
owner: "{{ nextcloud_user }}"
|
||||
group: "{{ nextcloud_user }}"
|
||||
mode: "0700"
|
||||
|
|
Loading…
Reference in a new issue