Add documentation

This commit is contained in:
Tristan PILAT 2018-06-14 17:27:21 +02:00
parent 001c8581c4
commit c1a14871d7
1 changed files with 10 additions and 0 deletions

View File

@ -15,5 +15,15 @@ Main variables are :
* `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" }