Role Detail

geerlingguy.memcached

Memcached for Linux
Downloads
42721
Type Ansible
Minimum Ansible Version 2.0
Installation $ ansible-galaxy install geerlingguy.memcached
Tags
database
web
Last Commit 2017-04-02 15:41:03 PM UTC
Last Imported 2017-05-08 22:13:10 PM UTC
Version History
Version Release Date
1.0.7 2016-09-14 01:44:01 AM
1.0.6 2016-09-14 01:39:01 AM
1.0.5 2016-03-02 21:52:09 PM
1.0.4 2015-12-21 15:12:03 PM
1.0.3 2015-08-01 02:44:02 AM
1.0.2 2014-11-11 16:37:04 PM
1.0.1 2014-10-13 13:56:01 PM
1.0.0 2014-10-13 13:46:01 PM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 6
EL 7
Ubuntu precise
Ubuntu trusty
Ubuntu xenial
Last 10 Imports
Completed Status
2017-05-08 22:13:10 PM UTC SUCCESS
2017-04-02 05:29:05 AM UTC SUCCESS
2017-01-22 03:17:03 AM UTC SUCCESS
2016-11-02 20:21:08 PM UTC SUCCESS
2016-09-27 08:07:08 AM UTC SUCCESS
2016-09-25 22:05:10 PM UTC SUCCESS
2016-09-14 01:47:01 AM UTC SUCCESS
2016-09-14 01:41:01 AM UTC SUCCESS
2016-09-14 00:32:12 AM UTC SUCCESS
2016-09-13 22:48:10 PM UTC SUCCESS

Ansible Role: Memcached

Build Status

An Ansible Role that installs Memcached on RedHat/CentOS or Debian/Ubuntu Linux.

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

memcached_user: memcache

The user under which the Memcached daemon will run.

memcached_port: 11211
memcached_listen_ip: 127.0.0.1

The port and IP address (127.0.0.1 for localhost) on which Memcached will listen for requests.

memcached_memory_limit: 64
memcached_connections: 1024

Memcached limits. The maximum amount of RAM memcached will consume (64MB is the default), and the maximum number of simultaneous connections memcached will handle.

memcached_log_file: /var/log/memcached.log

The location of the memcached log file.

memcached_log_verbosity: ""

Normally memcached does not log anything. Change to "-v" to enable logging or to "-vv" for debug logging.

Dependencies

None.

Example Playbook

- hosts: cache
  roles:
    - { role: geerlingguy.memcached }

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.

None