From e97d448838d759759df723962cad43ba297cacf8 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 16 Sep 2015 16:52:54 -0400 Subject: [PATCH] Cleanup one more missed inventory bug --- lib/ansible/inventory/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/__init__.py b/lib/ansible/inventory/__init__.py index c31a8df67a..85290cf8a7 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -605,7 +605,7 @@ class Inventory(object): # we do this shouldn't be too much of an issue. Still, this should # be fixed at some point to allow a "first load" to touch all of the # directories, then later runs only touch the new basedir specified - for group in self.groups: + for group in self.groups.values(): #group.vars = combine_vars(group.vars, self.get_group_vars(group, new_pb_basedir=True)) group.vars = combine_vars(group.vars, self.get_group_vars(group)) # get host vars from host_vars/ files