mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix assemble usage, some issues still with async.
This commit is contained in:
parent
220ab33da3
commit
1f44c07ddf
1 changed files with 2 additions and 3 deletions
|
@ -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')
|
||||
|
||||
# *****************************************************
|
||||
|
||||
|
|
Loading…
Reference in a new issue