diff --git a/contrib/inventory/rax.py b/contrib/inventory/rax.py index 41eb9ed3177..3d358e07cee 100755 --- a/contrib/inventory/rax.py +++ b/contrib/inventory/rax.py @@ -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):