From ad777f6538038b0e3f334299a8e2f830d765c968 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 11 May 2013 14:00:16 -0400 Subject: [PATCH] Fix contrib link. --- lib/ansible/runner/action_plugins/group_by.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/runner/action_plugins/group_by.py b/lib/ansible/runner/action_plugins/group_by.py index bd510c0f1c..b115095c6b 100644 --- a/lib/ansible/runner/action_plugins/group_by.py +++ b/lib/ansible/runner/action_plugins/group_by.py @@ -53,7 +53,9 @@ class ActionModule(object): ### find all groups groups = {} + for host in self.runner.host_set: + data = inject['hostvars'][host] if not check_conditional(template.template(self.runner.basedir, self.runner.conditional, data)): continue