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

geerlingguy / ansible-role-php-pecl

Licence: MIT license
Ansible Role - PHP PECL extension

Programming Languages

PHP
23972 projects - #3 most used programming language

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

Urpm
urpm 是一套基于Laravel封装的后台用户管理权限系统,能够让开发者不用再关心权限问题,实现后台功能的快速开发。
Stars: ✭ 118 (+306.9%)
Mutual labels:  role
Ansible Role Git
Ansible Role - Git
Stars: ✭ 153 (+427.59%)
Mutual labels:  role
Ansible Role Homebrew
Ansible Role - Homebrew
Stars: ✭ 195 (+572.41%)
Mutual labels:  role
Ansible Role Dotfiles
Ansible Role - Easy and flexible dotfile installation.
Stars: ✭ 133 (+358.62%)
Mutual labels:  role
Ansible Role Repo Epel
Ansible Role - EPEL Repository for RHEL/CentOS
Stars: ✭ 149 (+413.79%)
Mutual labels:  role
Ansible Collection Hardening
This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL
Stars: ✭ 2,543 (+8668.97%)
Mutual labels:  role
Network Engine
This role provides the foundation for building network roles by providing modules and plugins that are common to all Ansible Network roles.
Stars: ✭ 108 (+272.41%)
Mutual labels:  role
Ansible Role Kubernetes
Ansible Role - Kubernetes
Stars: ✭ 247 (+751.72%)
Mutual labels:  role
Ansible Role Composer
Ansible Role - Composer PHP Dependency Manager
Stars: ✭ 149 (+413.79%)
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 (+534.48%)
Mutual labels:  role
Ansible Role Logstash
Ansible Role - Logstash
Stars: ✭ 136 (+368.97%)
Mutual labels:  role
Ansible Gitlab Runner
Ansible role to install gitlab-runner
Stars: ✭ 143 (+393.1%)
Mutual labels:  role
Aspnetcore.identity.mongo
This is a MongoDB provider for the ASP.NET Core 2 Identity framework
Stars: ✭ 179 (+517.24%)
Mutual labels:  role
Ansible Mysql Hardening
This Ansible role provides security configuration for MySQL.
Stars: ✭ 132 (+355.17%)
Mutual labels:  role
Ansible Role Ntp
Ansible Role - NTP
Stars: ✭ 203 (+600%)
Mutual labels:  role
Ansible Role Haproxy
Ansible Role - HAProxy
Stars: ✭ 112 (+286.21%)
Mutual labels:  role
Ansible Role Redis
Ansible Role - Redis
Stars: ✭ 176 (+506.9%)
Mutual labels:  role
Rbac
Hierarchical Role-Based Access Control for Node.js
Stars: ✭ 254 (+775.86%)
Mutual labels:  role
Ansible Role Java
Ansible Role - Java
Stars: ✭ 231 (+696.55%)
Mutual labels:  role
Ansible Nginx Hardening
This Ansible role provides secure nginx configurations.
Stars: ✭ 180 (+520.69%)
Mutual labels:  role

Ansible Role: PHP PECL extensions

CI

Installs PHP PECL extensions (and optionally pecl itself) on servers with PHP already installed.

Requirements

PHP must already be installed on the server. This role works great with and is tested alongside geerlingguy.php.

Also, if you don't already have php-pear (RedHat) or php-pecl (Debian) installed, you should set php_pecl_install_pecl: true to force this role to install the proper package.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

php_pecl_install_pecl: false

Whether to install php-pecl (Debian-based OSes) or php-pear (RedHat-based OSes).

php_pecl_install_command: "pecl install"

The command that will be run to install extensions. The default is generally correct, but if you're running Ubuntu 14.04 LTS and run into this issue, you should override this default with "pecl install -Z"

php_pecl_extensions: []

A list of extensions that should be installed via pecl install. If you'd like to have this role install extensions like XDebug, just add it in the list, like so:

php_pecl_extensions:
  - redis
  - xdebug

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  vars_files:
    - vars/main.yml
  roles:
    - geerlingguy.php-pecl

Inside vars/main.yml:

php_pecl_extensions:
  - redis
  - xdebug

License

MIT / BSD

Author Information

This role was created in 2014 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].