From 0d5b7ae669ec568257f0415d8bee8dadfb85795a Mon Sep 17 00:00:00 2001 From: Benno Joy Date: Wed, 17 Jun 2015 19:18:19 +0530 Subject: [PATCH] fixes 11296 where the groups does not have all the groups --- lib/ansible/vars/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/vars/__init__.py b/lib/ansible/vars/__init__.py index 64ad9e3a143..239d77ca658 100644 --- a/lib/ansible/vars/__init__.py +++ b/lib/ansible/vars/__init__.py @@ -219,6 +219,7 @@ class VariableManager: if self._inventory is not None: hostvars = HostVars(vars_manager=self, inventory=self._inventory, loader=loader) all_vars['hostvars'] = hostvars + all_vars['groups'] = self._inventory.groups_list() if task: if task._role: