From c16b6918836bb8e5a1f12b5818dd1e7de75192b2 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Tue, 24 Jul 2012 20:35:10 -0400 Subject: [PATCH] Copy module needs to use src as transfer path. --- lib/ansible/runner/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 0fb7c77b31..39f4c68a28 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -317,6 +317,7 @@ class Runner(object): conn.put_file(source, tmp_src) # run the copy module + self.module_args = "%s src=%s" % (self.module_args, tmp_src) return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file') else: