[distgit/pagure] Set ACL for newly created files in /var/log/pagure

Fix for https://pagure.io/fedora-infrastructure/issue/11957 was introduced to
pagure role, but it wasn't added to dist-git role as well. Let's fix that.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-06-04 10:40:45 +02:00
parent c897c9c197
commit 38ca9f6f73

View file

@ -97,6 +97,18 @@
- pagure
- hotfix
# Fix for https://pagure.io/fedora-infrastructure/issue/11957
- name: Set ACL for newly created files in /var/log/pagure
ansible.posix.acl:
path: /var/log/pagure
default: true
etype: group
permissions: "rw"
state: present
tags:
- pagure
- fix_log
- name: create the /srv/tmp folder where to clone repos
file: state=directory
path=/srv/tmp