From 40948cfcc460cff79cccdf10d09a8d93bce28d25 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 6 Apr 2016 14:03:17 -0700 Subject: [PATCH] git still needs to have abspath applied to dest --- lib/ansible/modules/source_control/git.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/source_control/git.py b/lib/ansible/modules/source_control/git.py index 828017ecd6..3bccf877cd 100644 --- a/lib/ansible/modules/source_control/git.py +++ b/lib/ansible/modules/source_control/git.py @@ -706,6 +706,7 @@ def main(): if not dest and allow_clone: module.fail_json(msg="the destination directory must be specified unless clone=no") elif dest: + dest = os.path.abspath(dest) if bare: gitconfig = os.path.join(dest, 'config') else: