mirror of
https://github.com/cwchristerw/tjas-infra
synced 2025-10-13 22:19:41 +00:00
Deployer: Nextcloud - Change config directory owner
This commit is contained in:
@@ -1142,6 +1142,8 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/root/data/nextcloud/{{ folder }}"
|
path: "/root/data/nextcloud/{{ folder }}"
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: www-data
|
||||||
|
group: www-data
|
||||||
loop: "{{ folders }}"
|
loop: "{{ folders }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ folder }}"
|
label: "{{ folder }}"
|
||||||
@@ -1160,6 +1162,8 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
dest: '/root/data/nextcloud/{{ item.path }}'
|
dest: '/root/data/nextcloud/{{ item.path }}'
|
||||||
state: directory
|
state: directory
|
||||||
|
owner: www-data
|
||||||
|
group: www-data
|
||||||
with_filetree: './files/nextcloud/'
|
with_filetree: './files/nextcloud/'
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.path }}"
|
label: "{{ item.path }}"
|
||||||
|
Reference in New Issue
Block a user