diff --git a/lib/ansible/runner/action_plugins/group_by.py b/lib/ansible/runner/action_plugins/group_by.py index 4d6205ca60c..110f0eafe6e 100644 --- a/lib/ansible/runner/action_plugins/group_by.py +++ b/lib/ansible/runner/action_plugins/group_by.py @@ -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.")