community / community.general / 0.2.1 / cache / redis Use Redis DB for cache Authors: unknowncommunity.general.redis (0.2.1) — cache
Install with ansible-galaxy collection install community.general:==0.2.1
collections: - name: community.general version: 0.2.1
This cache uses JSON formatted, per host records saved in Redis.
_uri: description: - A colon separated string of connection information for Redis. - The format is C(host:port:db:password), for example C(localhost:6379:0:changeme). - To use encryption in transit, prefix the connection with C(tls://), as in C(tls://localhost:6379:0:changeme). env: - name: ANSIBLE_CACHE_PLUGIN_CONNECTION ini: - key: fact_caching_connection section: defaults required: true _prefix: default: ansible_facts description: User defined prefix to use when creating the DB entries env: - name: ANSIBLE_CACHE_PLUGIN_PREFIX ini: - key: fact_caching_prefix section: defaults _timeout: default: 86400 description: Expiration timeout in seconds for the cache plugin data. Set to 0 to never expire env: - name: ANSIBLE_CACHE_PLUGIN_TIMEOUT ini: - key: fact_caching_timeout section: defaults type: integer