From a68a384a4f9808deada1fca43d686d7517fb6e6c Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 22 Nov 2018 14:00:43 +0000 Subject: [PATCH] Enable git automatic thread count detection The repo build process does many git clone operations. This patch ensures that the repo server git configuration allows git to detect and make use of the number of CPU which are present, which benefits operations such as check out which are highly threaded. Change-Id: Ib01fc1c560dcb9261c328841d7472c87434edab0 --- tasks/repo_post_install.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/repo_post_install.yml b/tasks/repo_post_install.yml index 465d6cd..fed16db 100644 --- a/tasks/repo_post_install.yml +++ b/tasks/repo_post_install.yml @@ -13,6 +13,12 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: Enable git automatic thread count detection + git_config: + scope: system + name: pack.threads + value: 0 + - name: Remove old key file(s) if found file: path: "{{ item }}"