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

always load vars plugins

fixes #12104
This commit is contained in:
Brian Coca 2015-08-26 11:40:33 -04:00
parent 111c0cc204
commit b2ae6945c4

View file

@ -124,7 +124,7 @@ class Inventory(object):
# should never happen, but JIC # should never happen, but JIC
raise AnsibleError("Unable to parse %s as an inventory source" % host_list) 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 # FIXME: shouldn't be required, since the group/host vars file
# management will be done in VariableManager # management will be done in VariableManager