From 852d45754981227d85ab604199d82443e7434806 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 3 Oct 2017 16:44:35 -0400 Subject: [PATCH] turn all inventory cache 'off by default' --- lib/ansible/inventory/manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/inventory/manager.py b/lib/ansible/inventory/manager.py index a3c02277c5b..c2cfb845c26 100644 --- a/lib/ansible/inventory/manager.py +++ b/lib/ansible/inventory/manager.py @@ -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