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
This commit is contained in:
James E. Blair 2022-05-23 13:13:00 -07:00
parent 0c980bbcb7
commit 09d493916a
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}"