From 1f44c07ddf2f4c65a4210e67e38ad60321c40af5 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 23 Jul 2012 19:40:21 -0400 Subject: [PATCH] Fix assemble usage, some issues still with async. --- lib/ansible/runner/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/ansible/runner/__init__.py b/lib/ansible/runner/__init__.py index 8966f451f3..b01078eb10 100644 --- a/lib/ansible/runner/__init__.py +++ b/lib/ansible/runner/__init__.py @@ -274,7 +274,7 @@ class Runner(object): module_name = 'command' module_args += " #USE_SHELL" - return self._execute_module(conn, tmp, 'async', module_args, + return self._execute_module(conn, tmp, 'async_wrapper', module_args, async_module=module_name, async_jid=self.generated_jid, async_limit=self.background, @@ -443,9 +443,8 @@ class Runner(object): # will be unneccessary as it can decide to daisychain via it's own module returns. # and this function can be deleted. - module_name = 'assemble' options = utils.parse_kv(self.module_args) - return self._execute_module(conn, tmp, 'inject', self.module_args, inject=inject).daisychain('file') + return self._execute_module(conn, tmp, 'assemble', self.module_args, inject=inject).daisychain('file') # *****************************************************