mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Move complex_args templating to be with module_args
Keeps every action plugin from having to do the same thing.
This commit is contained in:
@@ -36,7 +36,6 @@ class ActionModule(object):
|
||||
def run(self, conn, tmp, module_name, module_args, inject, complex_args=None, **kwargs):
|
||||
''' transfer & execute a module that is not 'copy' or 'template' '''
|
||||
|
||||
complex_args = utils.template(self.runner.basedir, complex_args, inject)
|
||||
module_args = self.runner._complex_args_hack(complex_args, module_args)
|
||||
|
||||
if self.runner.check:
|
||||
|
||||
Reference in New Issue
Block a user