This package will no longer be updated. In it's current state it won't work for Debian Buster.
Install and start memcached
BC break: the default Listen directive is now "127.0.0.1"
Debian Bullseye / Bookworm with the package python-pycurl and python-software-properties installed.
# Listen on IP
memcached_listen: 127.0.0.1
memcached_port: 11211
# Or: Listen on a socket
memcached_socket: /var/run/memcached/memcached.sock
memcached_permissions: "0666"
memcached_maxconn: 1024
memcached_memusage: 128
(single instance variables will be ignored):
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"
- hosts: servers
roles:
- { role: f500.memcached }
Github actions will check this role with ansible-lint. To run this locally, you will need to follow the following steps:
brew install ansible-lint
brew install yamllint
ansible-lint
to fix the linting errors, run:
ansible-lint --fix
LGPL
Jasper N. Brouwer, jasper@nerdsweide.nl
Ramon de la Fuente, ramon@delafuente.nl