redis – Use Redis DB for cache¶
Requirements¶
The below requirements are needed on the local master node that executes this cache.
- redis>=2.4.5 (python lib)
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
_prefix
-
|
Default: "ansible_facts"
|
ini entries:
[defaults] env:ANSIBLE_CACHE_PLUGIN_PREFIX
|
User defined prefix to use when creating the DB entries
|
_timeout
integer
|
Default: 86400
|
ini entries:
[defaults] env:ANSIBLE_CACHE_PLUGIN_TIMEOUT
|
Expiration timeout for the cache plugin data
|
_uri
-
/ required
|
ini entries:
[defaults] env:ANSIBLE_CACHE_PLUGIN_CONNECTION
|
A colon separated string of connection information for Redis.
|
Status¶
- This cache is not guaranteed to have a backwards compatible interface. [preview]
- This cache is maintained by the Ansible Community. [community]
Authors¶
- UNKNOWN
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
Hint
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.