Jeremy Lecour
00fe225a3c
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|2615|7|2608|177|:+1:
Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
|
||
---|---|---|
.. | ||
defaults | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
tests | ||
.kitchen.yml | ||
README.md |
Memcached
Installation and basic configuration of memcached
Tasks
Minimal configuration is in tasks/main.yml
Available variables
Main variables are :
memcached_mem
: amount of memory (default:64
) ;memcached_user
: running user (default:nobody
) ;memcached_port
: opened port (default:11211
) ;memcached_bind_interface
: interface to listen to (default:127.0.0.1
) ;memcached_connections
: number of simultaneous incoming connections (default:1024
) ;memcached_instance_name
: use this to set up multiple memcached instances (default:False
) ;
The full list of variables (with default values) can be found in defaults/main.yml
.
Multiple intances
When using memcached_instance_name variable, you can set up multiple memcached instances :
roles:
- { role: memcached, memcached_instance_name: "instance1" }
- { role: memcached, memcached_instance_name: "instance2", memcached_port: 11212 }