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

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:
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'''
self._setup_inventory_plugins()
@ -214,7 +214,7 @@ class InventoryManager(object):
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 '''
parsed = False