mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Working on complex argument support.
This commit is contained in:
parent
5a91873983
commit
1ecf4a6943
18 changed files with 85 additions and 27 deletions
|
@ -28,7 +28,7 @@ class ActionModule(object):
|
|||
def __init__(self, runner):
|
||||
self.runner = runner
|
||||
|
||||
def run(self, conn, tmp, module_name, module_args, inject):
|
||||
def run(self, conn, tmp, module_name, module_args, inject, complex_args=None, **kwargs):
|
||||
args = utils.parse_kv(module_args)
|
||||
if not 'msg' in args:
|
||||
args['msg'] = 'Hello world!'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue