diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 89585224ee..0fb7c77b31 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -317,7 +317,6 @@ class Runner(object): conn.put_file(source, tmp_src) # run the copy module - self.module_args = "src=%s dest=%s" % (tmp_src, dest) return self._execute_module(conn, tmp, 'copy', self.module_args, inject=inject).daisychain('file') else: