pagure: ensure /var/log/pagure exists and has the appropriate owner/group/mode

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-08-03 12:30:04 +02:00
parent 0967e86ce1
commit fdf06691d2

View file

@ -91,6 +91,13 @@
tags:
- pagure
- name: create the /var/log/pagure folder where to store the logs
file: state=directory
path=/var/log/pagure
owner=git group=git mode=0755
tags:
- pagure
# This now fails when there are broken symlinks. Lets figure out a better way to do this - kevin
#- name: Adjust owner of /srv/git
# file: name=/srv/git state=directory recurse=yes owner=git group=git