1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fixes 11296 where the groups does not have all the groups

This commit is contained in:
Benno Joy 2015-06-17 19:18:19 +05:30
parent 888f3236c5
commit 0d5b7ae669

View file

@ -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: