darthwade.php-pecl
Ansible Role: PHP PECL
[
](https://flattr.com/submit/auto?user_id=darthwade&url=https://github.com/darthwade/ansible-role-php-pecl&title=Ansible Role: PHP PECL&language=&tags=github&category=software)
Ansible role that installs PHP PECL and its extensions.
Features include:
- Installation of PHP PECL and it's dependencies
- Basic configuration
- Installation of PHP PECL extensions
Installation
Using ansible-galaxy:
$ ansible-galaxy install darthwade.php-pecl
Using arm (Ansible Role Manager):
$ arm install darthwade.php-pecl
Using git:
$ git clone https://github.com/darthwade/ansible-role-php-pecl.git
Requirements & Dependencies
- Ansible 1.4 or higher
- PHP
- PHP PEAR
Variables
Here is a list of all the default variables for this role, which are also available in defaults/main.yml.
# A list of extensions that should be installed via pecl install.
php_pecl_extensions:
- xdebug
- opcache
Example playbook
- hosts: all
vars:
php_pecl_extensions:
- xdebug
- zendopcache
roles:
- darthwade.php-pecl
Testing
$ git clone https://github.com/darthwade/ansible-role-php-pecl.git
$ cd ansible-role-php-pecl
$ vagrant up
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests and examples for any new or changed functionality.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
Licensed under the MIT License. See the LICENSE file for details.
Copyright (c) 2014 Vadym Petrychenko
Install
ansible-galaxy install darthwade.php-peclLicense
mit
Downloads
449
Owner
