All Projects → geerlingguy → ansible-role-php-redis

geerlingguy / ansible-role-php-redis

Licence: MIT license
Ansible Role - PhpRedis

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to ansible-role-php-redis

Aspnetcore.identity.mongo
This is a MongoDB provider for the ASP.NET Core 2 Identity framework
Stars: ✭ 179 (+1093.33%)
Mutual labels:  role
ansible-role-php-pecl
Ansible Role - PHP PECL extension
Stars: ✭ 29 (+93.33%)
Mutual labels:  role
ansible-concourse
An ansible role to manage Concourse CI
Stars: ✭ 22 (+46.67%)
Mutual labels:  role
Vue Gates
🔒 A Vue.js & Nuxt.js plugin that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.
Stars: ✭ 184 (+1126.67%)
Mutual labels:  role
Ansible Role Kubernetes
Ansible Role - Kubernetes
Stars: ✭ 247 (+1546.67%)
Mutual labels:  role
ansible-role-github-users
Ansible Role - GitHub Users
Stars: ✭ 49 (+226.67%)
Mutual labels:  role
Ansible Role Redis
Ansible Role - Redis
Stars: ✭ 176 (+1073.33%)
Mutual labels:  role
ansible-role-raspberry-pi
Configures a Raspberry Pi (running Raspbian).
Stars: ✭ 90 (+500%)
Mutual labels:  role
Rbac
Hierarchical Role-Based Access Control for Node.js
Stars: ✭ 254 (+1593.33%)
Mutual labels:  role
ansible-role-gogs
DEPRECATED Ansible Role - Gogs: Go Git Service
Stars: ✭ 27 (+80%)
Mutual labels:  role
Ansible Role Homebrew
Ansible Role - Homebrew
Stars: ✭ 195 (+1200%)
Mutual labels:  role
Ansible Role Java
Ansible Role - Java
Stars: ✭ 231 (+1440%)
Mutual labels:  role
discord-reaction-role-bot
A Discord bot that allows users to self-assign roles using reactions.
Stars: ✭ 110 (+633.33%)
Mutual labels:  role
Ansible Nginx Hardening
This Ansible role provides secure nginx configurations.
Stars: ✭ 180 (+1100%)
Mutual labels:  role
ansible-role-backup
Ansible Role - Backup for simple servers
Stars: ✭ 122 (+713.33%)
Mutual labels:  role
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+16853.33%)
Mutual labels:  role
ansible-role-pimpmylog
DEPRECATED Ansible Role - Pimp my Log
Stars: ✭ 14 (-6.67%)
Mutual labels:  role
ansible-role-mysql
Ansible Role - MySQL and MariaDB
Stars: ✭ 28 (+86.67%)
Mutual labels:  role
40ansible
Ansible modules and examples for Fortinet products using the REST API
Stars: ✭ 77 (+413.33%)
Mutual labels:  role
Bee-Connect
Ruby on Rails App. A good example of how to build social networking system with live chat support, blogging,groups etc.
Stars: ✭ 30 (+100%)
Mutual labels:  role

Ansible Role: PhpRedis

CI

Installs PhpRedis support on Linux.

Requirements

This role doesn't explicitly require Redis 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.redis for a simple role to install and configure Redis (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_redis_package: php-redis

(Default for Debian/Ubuntu shown). If installing from apt or yum, which package to install which provides the PhpRedis extension. (For PHP 5.x on Debian, this should be php5-redis).

Install from source

If you want to install PhpRedis directly from source (if you're on an OS that doesn't have it available as a package, or if you want a newer version than is available through your package manager), you can use the variables below to configure the source installation:

php_redis_install_from_source: false

Whether to install PhpRedis from source. If you'd like to install a specific version of PhpRedis not available via the system package manager, you can compile the extension from source.

php_redis_source_repo: https://github.com/phpredis/phpredis.git

The git repository for the PhpRedis extension.

php_redis_source_version: develop

The branch, tag, or commit hash to use when cloning the source repository. Can be a branch (e.g. develop or php7), a tag (e.g. 2.2.7), or a commit hash (e.g. 5241a5c).

php_redis_source_clone_dir: ~/phpredis

The location where the PhpRedis source code will be cloned locally.

php_redis_source_configure_command: "./configure"

The command to configure a PhpRedis source install. You can modify this command if you want to do something like add --enable-redis-igbinary.

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  roles:
    - { role: geerlingguy.php-redis }

License

MIT / BSD

Author Information

This role was created in 2015 by Jeff Geerling, author of Ansible for DevOps.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].