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:
parent
46621a3ddd
commit
852d457549
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue