batcave: Set git directories as safe

Or else users in sysadmin-main can’t access the repositories.

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2024-06-27 12:14:27 +02:00 committed by zlopez
parent 48f4990dd9
commit 0d6c24558a

View file

@ -541,6 +541,16 @@
- httpd
- httpd/website
# On RHEL 8.8 and newer, git operations fail because of dubious ownership. This should fix it.
- name: Configure git directories as safe
git_config:
name: safe.directory
scope: system
value: "*"
tags:
- config
- batcave
- name: Add SAR script for koji
copy: src=koji_sar.py dest=/usr/local/bin/koji_sar.py owner=root mode=0700
tags: