From 857603d9d77761ea217a2ab5a4645f34a64174cc Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 14 Jan 2019 08:26:56 +0200 Subject: [PATCH] Make nginx-proxy files owned by matrix:matrix, not root:root --- roles/matrix-server/tasks/setup/setup_nginx_proxy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/matrix-server/tasks/setup/setup_nginx_proxy.yml b/roles/matrix-server/tasks/setup/setup_nginx_proxy.yml index 123f9791..1f783a0e 100644 --- a/roles/matrix-server/tasks/setup/setup_nginx_proxy.yml +++ b/roles/matrix-server/tasks/setup/setup_nginx_proxy.yml @@ -15,8 +15,9 @@ path: "{{ item }}" state: directory mode: 0750 - owner: root - group: root + owner: "{{ matrix_user_username }}" + group: "{{ matrix_user_username }}" + recurse: yes with_items: - "{{ matrix_nginx_proxy_data_path }}" - "{{ matrix_nginx_proxy_confd_path }}"