Browse code

since we never added toggle, disable cache

this restores previous behaviour, cache and a toggle will be added in 2.5
fixes #30717

Brian Coca authored on 2017/09/25 03:27:02
Showing 3 changed files
... ...
@@ -117,7 +117,7 @@ class InventoryModule(BaseInventoryPlugin):
117 117
 
118 118
     NAME = 'openstack'
119 119
 
120
-    def parse(self, inventory, loader, path, cache=True):
120
+    def parse(self, inventory, loader, path, cache=False):
121 121
 
122 122
         super(InventoryModule, self).parse(inventory, loader, path)
123 123
 
... ...
@@ -61,7 +61,7 @@ class InventoryModule(BaseInventoryPlugin):
61 61
 
62 62
         return valid
63 63
 
64
-    def parse(self, inventory, loader, path, cache=True):
64
+    def parse(self, inventory, loader, path, cache=False):
65 65
 
66 66
         super(InventoryModule, self).parse(inventory, loader, path)
67 67
 
... ...
@@ -159,7 +159,7 @@ class InventoryModule(BaseInventoryPlugin):
159 159
                 valid = True
160 160
         return valid
161 161
 
162
-    def parse(self, inventory, loader, path, cache=True):
162
+    def parse(self, inventory, loader, path, cache=False):
163 163
 
164 164
         super(InventoryModule, self).parse(inventory, loader, path)
165 165