From 2db35ab0868d0cbe5cc1b69d0547ec4321426819 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 1 Oct 2025 00:35:01 +0300 Subject: [PATCH] Deployer: Nextcloud - Change config directory owner --- tasks/deployer.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/deployer.yml b/tasks/deployer.yml index 042e6cf..17a4858 100644 --- a/tasks/deployer.yml +++ b/tasks/deployer.yml @@ -1142,6 +1142,8 @@ ansible.builtin.file: path: "/root/data/nextcloud/{{ folder }}" state: directory + owner: www-data + group: www-data loop: "{{ folders }}" loop_control: label: "{{ folder }}" @@ -1160,6 +1162,8 @@ ansible.builtin.file: dest: '/root/data/nextcloud/{{ item.path }}' state: directory + owner: www-data + group: www-data with_filetree: './files/nextcloud/' loop_control: label: "{{ item.path }}"