[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:
parent
c897c9c197
commit
38ca9f6f73
1 changed files with 12 additions and 0 deletions
|
@ -97,6 +97,18 @@
|
||||||
- pagure
|
- pagure
|
||||||
- hotfix
|
- 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
|
- name: create the /srv/tmp folder where to clone repos
|
||||||
file: state=directory
|
file: state=directory
|
||||||
path=/srv/tmp
|
path=/srv/tmp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue