From 8a09e1281b84015e11cfe235e34725ae9729eb4b Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 6 Sep 2012 19:04:27 -0400 Subject: [PATCH] Fixup modularized template module --- lib/ansible/runner/action_plugins/template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/runner/action_plugins/template.py b/lib/ansible/runner/action_plugins/template.py index 257da4a3a5..62e578d256 100644 --- a/lib/ansible/runner/action_plugins/template.py +++ b/lib/ansible/runner/action_plugins/template.py @@ -72,7 +72,7 @@ class ActionModule(object): xfered = self.runner._transfer_str(conn, tmp, 'source', resultant) # run the copy module, queue the file module - self.module_args = "%s src=%s dest=%s" % (self.runner.module_args, xfered, dest) - return self._runner.execute_module(conn, tmp, 'copy', self.runner.module_args, inject=inject).daisychain('file') + self.runner.module_args = "%s src=%s dest=%s" % (self.runner.module_args, xfered, dest) + return self.runner._execute_module(conn, tmp, 'copy', self.runner.module_args, inject=inject).daisychain('file')