memcached – Use memcached DB for cache — Ansible Documentation

- AnsibleFest
- Products
- Community
- Webinars & Training
- Blog

Documentation

# memcached – Use memcached DB for cache

- Synopsis
- Requirements
- Parameters
- Status

## Synopsis

- This cache uses JSON formatted, per host records saved in memcached.

## Requirements

The below requirements are needed on the local master node that executes this cache.

- memcache (python lib)

## Parameters

Parameter | Choices/Defaults | Configuration | Comments
--- | --- | --- | ---
_prefix - | Default: "ansible_facts" | ini entries: [defaults] fact_caching_prefix = ansible_facts env:ANSIBLE_CACHE_PLUGIN_PREFIX | User defined prefix to use when creating the DB entries
_timeout integer | Default: 86400 | ini entries: [defaults] fact_caching_timeout = 86400 env:ANSIBLE_CACHE_PLUGIN_TIMEOUT | Expiration timeout for the cache plugin data
_uri list | Default: ["127.0.0.1:11211"] | ini entries: [defaults] fact_caching_connection = [u'127.0.0.1:11211'] env:ANSIBLE_CACHE_PLUGIN_CONNECTION | List of connection information for the memcached DBs

## 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.