forked from evolix/ansible-roles
etc-git: add /var/chroot-bind/etc/bind to Git safe directories to avoid owner check by Git (bind owns the repo, not root)
This commit is contained in:
parent
9867dcb319
commit
c861fe1974
|
@ -44,6 +44,9 @@
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- 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
|
- ansible.builtin.import_tasks: repository.yml
|
||||||
vars:
|
vars:
|
||||||
repository_path: "/var/chroot-bind/etc/bind"
|
repository_path: "/var/chroot-bind/etc/bind"
|
||||||
|
|
Loading…
Reference in a new issue