From e2d03173d2bbd3106916b38a092c894c160b7d92 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 28 Nov 2013 10:58:14 +1000 Subject: [PATCH] =?UTF-8?q?The=20file=20module=20doesn=E2=80=99t=20have=20?= =?UTF-8?q?it=E2=80=99s=20module=5Fargs=20reset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I believe that this should be reset in the same way that the copy module does --- lib/ansible/runner/action_plugins/assemble.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/runner/action_plugins/assemble.py b/lib/ansible/runner/action_plugins/assemble.py index b72572ef72..aeabc0d4ca 100644 --- a/lib/ansible/runner/action_plugins/assemble.py +++ b/lib/ansible/runner/action_plugins/assemble.py @@ -96,4 +96,5 @@ class ActionModule(object): res = self.runner._execute_module(conn, tmp, 'copy', module_args, inject=inject) return res else: + module_args = "%s src=%s dest=%s original_basename=%s" % (module_args, pipes.quote(xfered), pipes.quote(dest), pipes.quote(os.path.basename(src))) return self.runner._execute_module(conn, tmp, 'file', module_args, inject=inject)