From 97ba42b524f7be1aae937df1646bc3f1ed9fbdad Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Wed, 29 May 2024 16:41:09 +0100 Subject: [PATCH] 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 https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/920757 Change-Id: I20efb9be544db6d4d66c9b8d968aaf44d96d899f --- .../roles/bootstrap-host/templates/user_variables.aio.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index eb0b9f9216..68b3d3347b 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -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 %}