1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixes 5036 add missing parameter to git module function call

This commit is contained in:
James Tanner 2013-11-25 09:51:07 -05:00
parent 828b9f872f
commit d950a3d1b5

View file

@ -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, repo) remote_head = get_remote_head(git_path, module, dest, version, remote, 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: