1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Used module_args passed to function instead of from runner

This commit is contained in:
Denis Phillips 2014-05-04 08:49:12 -04:00
parent 9b52ce8a42
commit cd0134d290

View file

@ -41,7 +41,7 @@ class ActionModule(object):
args = {}
if 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:
raise ae("'key' is a required argument.")