From 4c495a1e1c42a4d66c742162663149f36acba162 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Thu, 31 Oct 2024 17:02:24 +0100 Subject: [PATCH] Fix gitea reverse-proxy configuration file permissions. --- roles/role_deploy_gitea/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/role_deploy_gitea/tasks/main.yml b/roles/role_deploy_gitea/tasks/main.yml index a058593..063688f 100644 --- a/roles/role_deploy_gitea/tasks/main.yml +++ b/roles/role_deploy_gitea/tasks/main.yml @@ -117,6 +117,10 @@ ansible.builtin.template: src: "{{ item }}.j2" dest: "/mnt/volumes/reverse-proxy_conf/data/{{ item }}" + mode: '0644' + seuser: system_u + serole: object_r + setype: container_file_t become: true with_items: - reverse-proxy-gitea.conf