Configure all directories to be safe for git clone in CI

CI jobs use the file:// mechanism to clone their repos and this is
now subject to 'safe' directory rules in lastest git.

See f4aa8c8bb1

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/920757
Change-Id: I20efb9be544db6d4d66c9b8d968aaf44d96d899f
This commit is contained in:
Jonathan Rosser 2024-05-29 16:41:09 +01:00
parent 55173855be
commit 97ba42b524

View File

@ -372,3 +372,8 @@ nova_virt_type: kvm
{% elif (('qemu' in bootstrap_host_scenarios_expanded) or nodepool_dir.stat.exists) %}
nova_virt_type: qemu
{% endif %}
{% if nodepool_dir.stat.exists %}
openstack_hosts_git_safe_directories:
- "*"
{% endif %}