Commit d950a3d1 by James Tanner

Fixes 5036 add missing parameter to git module function call

parent 828b9f87
......@@ -382,7 +382,7 @@ def main():
local_mods = False
if not os.path.exists(gitconfig):
if module.check_mode:
remote_head = get_remote_head(git_path, module, dest, version, repo)
remote_head = get_remote_head(git_path, module, dest, version, remote, bare)
module.exit_json(changed=True, before=before, after=remote_head)
clone(git_path, module, repo, dest, remote, depth, version, bare, reference)
elif not update:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment