From 27f305ae0823a55d5141f5a4a6162e326a2ae3de Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Tue, 29 Apr 2014 12:13:55 -0400 Subject: [PATCH] Document how to turn off ec2 cache Document how to disable cache lookup with the ec2 inventory script --- plugins/inventory/ec2.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/inventory/ec2.ini b/plugins/inventory/ec2.ini index b931c4a7da..8a0c3ad45c 100644 --- a/plugins/inventory/ec2.ini +++ b/plugins/inventory/ec2.ini @@ -51,4 +51,5 @@ cache_path = ~/.ansible/tmp # The number of seconds a cache file is considered valid. After this many # seconds, a new API call will be made, and the cache file will be updated. +# To disable the cache, set this value to 0 cache_max_age = 300