You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ivan Grynenko
efea149d02
|
8 years ago | |
---|---|---|
defaults | 8 years ago | |
handlers | 8 years ago | |
meta | 8 years ago | |
tasks | 8 years ago | |
templates | 8 years ago | |
tests | 8 years ago | |
vars | 8 years ago | |
.gitignore | 8 years ago | |
.travis.yml | 8 years ago | |
README.md | 8 years ago |
README.md
Ansible Role: Memcached
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.