Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-memcached
Ansible Role - Memcached
https://github.com/geerlingguy/ansible-role-memcached
ansible cache caching database layer memcached performance role
Last synced: 9 days ago
JSON representation
Ansible Role - Memcached
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-memcached
- Owner: geerlingguy
- License: mit
- Created: 2014-10-13T13:45:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T19:22:32.000Z (6 months ago)
- Last Synced: 2025-01-05T21:07:49.004Z (16 days ago)
- Topics: ansible, cache, caching, database, layer, memcached, performance, role
- Language: Jinja
- Homepage: https://galaxy.ansible.com/geerlingguy/memcached/
- Size: 46.9 KB
- Stars: 72
- Watchers: 8
- Forks: 70
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-list-ansible - ansible-role-memcached - Memcached (role)
- awesome-ansible-roles - geerlingguy/ansible-role-memcached - Ansible Role - Memcached for Linux. (Reverse Proxy / Caching)
README
# Ansible Role: Memcached
[![CI](https://github.com/geerlingguy/ansible-role-memcached/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-memcached/actions?query=workflow%3ACI)
An Ansible Role that installs Memcached on RedHat/CentOS or Debian/Ubuntu Linux.
## Requirements
None.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
memcached_user: memcache
The user under which the Memcached daemon will run.
memcached_port: 11211
memcached_listen_ip: 127.0.0.1The port and IP address (127.0.0.1 for localhost) on which Memcached will listen for requests.
memcached_threads: 4
Number of threads to run.
memcached_memory_limit: 64
memcached_max_item_size: 1m
memcached_connections: 1024Memcached limits. The maximum amount of RAM `memcached` will consume (64MB is the default), the memory-limit of a single item and the maximum number of simultaneous connections memcached will handle.
memcached_log_file: /var/log/memcached.log
The location of the memcached log file.
memcached_log_verbosity: ""
Normally memcached does not log anything. Change to "-v" to enable logging or to "-vv" for debug logging.
## Dependencies
None.
## Example Playbook
- hosts: cache
roles:
- { role: geerlingguy.memcached }## License
MIT / BSD
## Author Information
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).