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:
parent
48f4990dd9
commit
0d6c24558a
1 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue