60adcff1ea
https://access.redhat.com/security/cve/cve-2018-1000115 Restrict Memcached to only work on TCP. The configuration only binds memcached on localhost but in case it changes, we'll prevent DDoS amplification attacks. Change-Id: Ifc16c8a3229f5fc0f3651e714627b526e4338cfe Closes-Bug: #1755063
14 lines
347 B
Django/Jinja
14 lines
347 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
{% if debug | bool %}
|
|
{% set _verbosity = '-vvv' %}
|
|
{% else %}
|
|
{% set _verbosity = '-v' %}
|
|
{% endif %}
|
|
|
|
PORT="{{ memcached_port }}"
|
|
USER="{{ memcached_user }}"
|
|
MAXCONN="{{ memcached_connections }}"
|
|
CACHESIZE="{{ memcached_memory }}"
|
|
OPTIONS="-U 0 -l {{ memcached_listen }} -t {{ memcached_threads }} {{ _verbosity }}"
|