Allow multiple users to use ec2 inventory scripts

Move the ec2 cache files from a shared /tmp location to the
user's ansible tmp directory.
This commit is contained in:
willthames
2013-12-04 11:18:15 +10:00
parent 27199dc219
commit 3a0d2860e0
2 changed files with 7 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ route53 = False
# will be written to this directory:
# - ansible-ec2.cache
# - ansible-ec2.index
cache_path = /tmp
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.