From 5d82b4b1b776054af654fdab21a56f86c0552ea8 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sat, 2 Mar 2013 16:30:30 +0100 Subject: [PATCH] group_by needs the untemplated module_args --- lib/ansible/runner/action_plugins/group_by.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/group_by.py b/lib/ansible/runner/action_plugins/group_by.py index f6a9f0bc09..e197a07fb1 100644 --- a/lib/ansible/runner/action_plugins/group_by.py +++ b/lib/ansible/runner/action_plugins/group_by.py @@ -40,7 +40,7 @@ class ActionModule(object): args = {} if complex_args: args.update(complex_args) - args.update(parse_kv(module_args)) + args.update(parse_kv(self.runner.module_args)) if not 'key' in args: raise ae("'key' is a required argument.")