Commit cd1125aa by Tom Berger Committed by Abhijit Menon-Sen

Save the cache in a file specific to the RackSpace account in use.

parent 804489f7
......@@ -344,7 +344,8 @@ def _list_into_cache(regions):
def get_cache_file_path():
return os.path.join(gettempdir(), 'ansible-rax.cache')
return os.path.join(gettempdir(),
'ansible-rax-{}.cache'.format(pyrax.identity.username))
def _list(regions, refresh_cache=True):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment