|
|
@ -60,18 +60,16 @@ class Invocation(object):
|
|
|
|
helpers.run_module() or helpers.run_module_async() in the target context.
|
|
|
|
helpers.run_module() or helpers.run_module_async() in the target context.
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
def __init__(self, action, connection, module_name, module_args,
|
|
|
|
def __init__(self, action, connection, module_name, module_args,
|
|
|
|
task_vars, tmp, env, wrap_async):
|
|
|
|
env, wrap_async):
|
|
|
|
#: Instance of the ActionBase subclass invoking the module. Required to
|
|
|
|
#: ActionBase instance invoking the module. Required to access some
|
|
|
|
#: access some output postprocessing methods that don't belong in
|
|
|
|
#: output postprocessing methods that don't belong in ActionBase at
|
|
|
|
#: ActionBase at all.
|
|
|
|
#: all.
|
|
|
|
self.action = action
|
|
|
|
self.action = action
|
|
|
|
self.connection = connection
|
|
|
|
self.connection = connection
|
|
|
|
self.module_name = module_name
|
|
|
|
self.module_name = module_name
|
|
|
|
self.module_args = module_args
|
|
|
|
self.module_args = module_args
|
|
|
|
self.module_path = None
|
|
|
|
self.module_path = None
|
|
|
|
self.module_source = None
|
|
|
|
self.module_source = None
|
|
|
|
self.task_vars = task_vars
|
|
|
|
|
|
|
|
self.tmp = tmp
|
|
|
|
|
|
|
|
self.env = env
|
|
|
|
self.env = env
|
|
|
|
self.wrap_async = wrap_async
|
|
|
|
self.wrap_async = wrap_async
|
|
|
|
|
|
|
|
|
|
|
|