ansible.plugins.cache package¶
Submodules¶
ansible.plugins.cache.base module¶
ansible.plugins.cache.jsonfile module¶
- 
class 
ansible.plugins.cache.jsonfile.CacheModule(*args, **kwargs)[source]¶ Bases:
ansible.plugins.cache.base.BaseCacheModuleA caching module backed by json files.
ansible.plugins.cache.memcached module¶
ansible.plugins.cache.memory module¶
ansible.plugins.cache.redis module¶
- 
class 
ansible.plugins.cache.redis.CacheModule(*args, **kwargs)[source]¶ Bases:
ansible.plugins.cache.base.BaseCacheModuleA caching module backed by redis.
Keys are maintained in a zset with their score being the timestamp when they are inserted. This allows for the usage of ‘zremrangebyscore’ to expire keys. This mechanism is used or a pattern matched ‘scan’ for performance.