Disable recursive git clones with ansible
Ansible's git module defaults to cloning with recursive set to true [0]. None of the repos we clone for system-config have submodules which makes this unncessary and potentially problematic. Disable recursive clones. [0] https://docs.ansible.com/ansible/latest/collections/ansible/builtin/git_module.html#parameter-recursive Change-Id: I40a765b9fe73c68c7f12b92c1e360dd5303e5e0f
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
dest: '/home/zuul/src/opendev.org/opendev/system-config'
|
||||
force: true
|
||||
version: 'master'
|
||||
recursive: false
|
||||
|
||||
- name: Update project-config from master
|
||||
when: '"opendev.org/openstack/project-config" in zuul.projects'
|
||||
@@ -51,3 +52,4 @@
|
||||
dest: '/home/zuul/src/opendev.org/openstack/project-config'
|
||||
force: true
|
||||
version: 'master'
|
||||
recursive: false
|
||||
|
Reference in New Issue
Block a user