From b2ae6945c460b24ede488e4402ad98c6ee6ee06d Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 26 Aug 2015 11:40:33 -0400 Subject: [PATCH] always load vars plugins fixes #12104 --- 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 9f955ce94cb..1bb743287e0 100644 --- a/lib/ansible/inventory/__init__.py +++ b/lib/ansible/inventory/__init__.py @@ -124,7 +124,7 @@ class Inventory(object): # should never happen, but JIC raise AnsibleError("Unable to parse %s as an inventory source" % host_list) - self._vars_plugins = [ x for x in vars_loader.all(self) ] + self._vars_plugins = [ x for x in vars_loader.all(self) ] # FIXME: shouldn't be required, since the group/host vars file # management will be done in VariableManager