Commit 194b8533 by Brian Coca

Merge pull request #11298 from bennojoy/fix_11296

fixes 11296 where the groups does not have all the groups
parents cce6edeb 0d5b7ae6
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment