geerlingguy.php-memcached

Ansible Role: PHP-Memcached

CI

This role helps you install support for PHP Memcached on systems like RedHat, CentOS, Debian, and Ubuntu.

Requirements

You don't need to have Memcached installed for this role to work, but it won’t be very useful unless you have Memcached running somewhere (either on the same server or a different one). If you need a simple way to set up Memcached, check out geerlingguy.memcached.

Role Variables

Here are the available variables and their default values (see defaults/main.yml):

  • php_enablerepo: ""

    (Only for RedHat/CentOS) If you have extra repositories enabled (like geerlingguy.repo-epel or geerlingguy.repo-remi), you can list them here (e.g., remi,epel). This is useful if you want the latest version of PHP from Remi's repository.

  • php_memcached_package: php-memcached

    This is the package used for PHP Memcached support. For Debian/Ubuntu with PHP 5.x, you should 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, who also wrote Ansible for DevOps.

Informazioni sul progetto

PHP Memcached support for Linux

Installa
ansible-galaxy install geerlingguy.php-memcached
Licenza
mit
Download
70.4k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns