mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user