You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-roles/memcached
Jérémy Lecour ee21973371
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
Use FQCN
Fully Qualified Collection Name
3 months ago
..
defaults Add multi: "" patch 3 years ago
files memcached: multi instance check requires bash instead of sh 9 months ago
handlers Use FQCN 3 months ago
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2 years ago
tasks Use FQCN 3 months ago
templates memcached: add tasks for phpmemcachedadmin 6 years ago
tests Add tests for many roles 6 years ago
.kitchen.yml Kitchen: Change base image to evolix/ansible 6 years ago
README.md memcached: improve systemd units management 5 years ago

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 }