From 09d493916af6ec07141ba788897981c1947561b8 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 23 May 2022 13:13:00 -0700 Subject: [PATCH] Correct git config item name in mirror-workspace-git-repos It appears this setting inadvertently had an extra word "ignore" included in the key name, and later versions of the git module in Ansible (5) throw an error in that case. Remove it so that this role will work in all versions. This has been previously tested in a base-test cycle via test-mirror-workspace-git-repos. Change-Id: I597aa8d331e53955e826f09aa51a579e12c94f85 --- roles/mirror-workspace-git-repos/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mirror-workspace-git-repos/tasks/main.yaml b/roles/mirror-workspace-git-repos/tasks/main.yaml index 7f2eb8b42..a782f6101 100644 --- a/roles/mirror-workspace-git-repos/tasks/main.yaml +++ b/roles/mirror-workspace-git-repos/tasks/main.yaml @@ -1,6 +1,6 @@ - name: Allow pushing to non-bare repo git_config: - name: receive.denyCurrentBranch ignore + name: receive.denyCurrentBranch value: ignore scope: local repo: "{{ ansible_user_dir }}/{{ zj_project.value.src_dir }}"