mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Save the cache in a file specific to the RackSpace account in use.
This commit is contained in:
parent
804489f734
commit
cd1125aac2
1 changed files with 2 additions and 1 deletions
|
@ -344,7 +344,8 @@ def _list_into_cache(regions):
|
||||||
|
|
||||||
|
|
||||||
def get_cache_file_path():
|
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):
|
def _list(regions, refresh_cache=True):
|
||||||
|
|
Loading…
Reference in a new issue