mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Used module_args passed to function instead of from runner
This commit is contained in:
parent
9b52ce8a42
commit
cd0134d290
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class ActionModule(object):
|
||||||
args = {}
|
args = {}
|
||||||
if complex_args:
|
if complex_args:
|
||||||
args.update(complex_args)
|
args.update(complex_args)
|
||||||
args.update(parse_kv(self.runner.module_args))
|
args.update(parse_kv(module_args))
|
||||||
if not 'key' in args:
|
if not 'key' in args:
|
||||||
raise ae("'key' is a required argument.")
|
raise ae("'key' is a required argument.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue