turn all inventory cache 'off by default'

This commit is contained in:
Brian Coca 2017-10-03 16:44:35 -04:00 committed by Brian Coca
parent 46621a3ddd
commit 852d457549

View file

@ -190,7 +190,7 @@ class InventoryManager(object):
if not self._inventory_plugins: if not self._inventory_plugins:
raise AnsibleError("No inventory plugins available to generate inventory, make sure you have at least one whitelisted.") raise AnsibleError("No inventory plugins available to generate inventory, make sure you have at least one whitelisted.")
def parse_sources(self, cache=True): def parse_sources(self, cache=False):
''' iterate over inventory sources and parse each one to populate it''' ''' iterate over inventory sources and parse each one to populate it'''
self._setup_inventory_plugins() self._setup_inventory_plugins()
@ -214,7 +214,7 @@ class InventoryManager(object):
self._inventory_plugins = [] self._inventory_plugins = []
def parse_source(self, source, cache=True): def parse_source(self, source, cache=False):
''' Generate or update inventory for the source provided ''' ''' Generate or update inventory for the source provided '''
parsed = False parsed = False