Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Update memcached role to latest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Apr 19, 2021
1 parent a3aaa45 commit fb4675d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provisioning/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ roles:
- name: geerlingguy.mailhog
version: 2.2.0
- name: geerlingguy.memcached
version: 2.0.0
version: 2.1.0
- name: geerlingguy.mysql
version: 3.3.0
- name: geerlingguy.nginx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ logfile {{ memcached_log_file }}
# Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
{% if memcached_listen_ip is string %}
-l {{ memcached_listen_ip }}
{% else %}
{% for ip in memcached_listen_ip %}
-l {{ ip }}
{% endfor %}
{% endif %}

# Limit the number of simultaneous incoming connections. The daemon default is 1024
-c {{ memcached_connections }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ CACHESIZE="{{ memcached_memory_limit }}"
# -l Specify which IP address to listen on. The default is to listen on all IP addresses
# This parameter is one of the only security measures that memcached has, so make sure
# it's listening on a firewalled interface.
OPTIONS="-l {{ memcached_listen_ip }} -I {{ memcached_max_item_size }} {{ memcached_log_verbosity }} >> {{ memcached_log_file }} 2>&1"
OPTIONS="{% if memcached_listen_ip is string %}-l {{ memcached_listen_ip }} {% else %}{% for ip in memcached_listen_ip %}-l {{ ip }} {% endfor %}{% endif %}-I {{ memcached_max_item_size }} {{ memcached_log_verbosity }} >> {{ memcached_log_file }} 2>&1"

0 comments on commit fb4675d

Please sign in to comment.