|
|
@ -82,7 +82,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
|
|
|
for varname in query:
|
|
|
|
for varname in query:
|
|
|
|
hostvars[host][varname] = self._query_vbox_data(host, query[varname])
|
|
|
|
hostvars[host][varname] = self._query_vbox_data(host, query[varname])
|
|
|
|
|
|
|
|
|
|
|
|
strict = self._options.get('strict', False)
|
|
|
|
strict = self.get_option('strict')
|
|
|
|
|
|
|
|
|
|
|
|
# create composite vars
|
|
|
|
# create composite vars
|
|
|
|
self._set_composite_vars(self.get_option('compose'), hostvars[host], host, strict=strict)
|
|
|
|
self._set_composite_vars(self.get_option('compose'), hostvars[host], host, strict=strict)
|
|
|
@ -223,7 +223,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
|
|
|
|
|
|
|
|
|
|
|
source_data = None
|
|
|
|
source_data = None
|
|
|
|
if cache:
|
|
|
|
if cache:
|
|
|
|
cache = self._options.get('cache')
|
|
|
|
cache = self.get_option('cache')
|
|
|
|
|
|
|
|
|
|
|
|
update_cache = False
|
|
|
|
update_cache = False
|
|
|
|
if cache:
|
|
|
|
if cache:
|
|
|
|