Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-php-memcached
Ansible Role - PHP Memcached
https://github.com/geerlingguy/ansible-role-php-memcached
ansible cache extension memcached php php-memcached role
Last synced: about 2 months ago
JSON representation
Ansible Role - PHP Memcached
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-php-memcached
- Owner: geerlingguy
- License: mit
- Created: 2014-10-13T15:10:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T19:22:52.000Z (5 months ago)
- Last Synced: 2024-10-10T04:06:44.951Z (2 months ago)
- Topics: ansible, cache, extension, memcached, php, php-memcached, role
- Language: PHP
- Homepage: https://galaxy.ansible.com/geerlingguy/php-memcached/
- Size: 37.1 KB
- Stars: 17
- Watchers: 5
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: PHP-Memcached
[![CI](https://github.com/geerlingguy/ansible-role-php-memcached/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-php-memcached/actions?query=workflow%3ACI)
Installs PHP Memcached support on RedHat/CentOS/Debian/Ubuntu.
## Requirements
This role doesn't *explicitly* require Memcached to be installed, but if you don't have the daemon running somewhere (either on the same server, or somewhere else), this role won't be all that helpful. Check out `geerlingguy.memcached` for a simple role to install and configure Memcached (either on the same server, or separate servers).
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
php_enablerepo: ""
(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest geerlingguy.repo-epel or geerlingguy.repo-remi), those repositories can be listed under this variable (e.g. `remi,epel`). This can be handy, as an example, if you want to install the latest version of PHP from Remi's repository.
php_memcached_package: php-memcached
The package to install for PHP Memcached support. For Debian/Ubuntu and PHP 5.x, use `php5-memcached`.
## Dependencies
- geerlingguy.php
## Example Playbook
- hosts: webservers
roles:
- { role: geerlingguy.php-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/).