etc-git: add /var/chroot-bind/etc/bind to Git safe directories to avoid owner check by Git (bind owns the repo, not root)
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2655|8|2647|4|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/417//ansiblelint">Evolix » ansible-roles » unstable #417</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
William Hirigoyen 2023-11-30 17:41:25 +01:00
parent 9867dcb319
commit c861fe1974
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@
tags:
- etc-git
- name: /var/chroot-bind/etc/bind is a safe directory
ansible.builtin.shell: git config --global --add safe.directory /var/chroot-bind/etc/bind
- ansible.builtin.import_tasks: repository.yml
vars:
repository_path: "/var/chroot-bind/etc/bind"