mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Addresses #5036 fix typo in git module
This commit is contained in:
@@ -382,7 +382,7 @@ def main():
|
|||||||
local_mods = False
|
local_mods = False
|
||||||
if not os.path.exists(gitconfig):
|
if not os.path.exists(gitconfig):
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
remote_head = get_remote_head(git_path, module, dest, version, remote, bare)
|
remote_head = get_remote_head(git_path, module, dest, version, repo, bare)
|
||||||
module.exit_json(changed=True, before=before, after=remote_head)
|
module.exit_json(changed=True, before=before, after=remote_head)
|
||||||
clone(git_path, module, repo, dest, remote, depth, version, bare, reference)
|
clone(git_path, module, repo, dest, remote, depth, version, bare, reference)
|
||||||
elif not update:
|
elif not update:
|
||||||
|
|||||||
Reference in New Issue
Block a user