f500.memcached

Deprecated

This package will not receive updates anymore. It does not work with Debian Buster.

Memcached

How to install and start memcached

Version 2.0: Now supports multiple instances

Important change: the default Listen setting is now "127.0.0.1".

Requirements

You need Debian Bullseye or Bookworm and you must have the packages python-pycurl and python-software-properties installed.

Role Variables

For single instance installation:

# IP address to listen on
memcached_listen: 127.0.0.1  
memcached_port: 11211

# Or: Use a socket to listen
memcached_socket: /var/run/memcached/memcached.sock
memcached_permissions: "0666"

memcached_maxconn: 1024
memcached_memusage: 128

For multiple instances

(the single instance variables will not be used):

memcached_servers:
  - name: production
    maxconn: 1024
    memusage: 128
    listen: 127.0.0.1
    port: 11211
  - name: development
    maxconn: 1024
    memusage: 128
    socket: "/var/run/memcached/memcached_development.sock"
    permissions: "0666"

Example Playbook

- hosts: servers
  roles:
     - { role: f500.memcached }

License

LGPL

Author Information

Jasper N. Brouwer, jasper@nerdsweide.nl

Ramon de la Fuente, ramon@delafuente.nl

Informazioni sul progetto

Install and start memcached

Installa
ansible-galaxy install f500.memcached
Licenza
lgpl-3.0
Download
336
Proprietario
Open source contributions by Future500