Role Detail

geerlingguy.php-pear

PHP PEAR library installation.
Downloads
501
Type Ansible
Minimum Ansible Version 1.9
Installation $ ansible-galaxy install geerlingguy.php-pear
Tags
development
web
Last Commit 2017-04-02 14:50:02 PM UTC
Last Imported 2017-04-02 15:04:03 PM UTC
Version History
Version Release Date
1.1.1 2016-03-06 21:59:09 PM
1.1.0 2016-02-29 05:53:05 AM
1.0.0 2014-03-05 15:09:03 PM
Supported Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 5
EL 6
EL 7
Fedora 16
Fedora 17
Fedora 18
Fedora 19
Fedora 20
Fedora 21
Fedora 22
Fedora 23
Fedora 24
Fedora 25
FreeBSD 10.0
FreeBSD 10.1
FreeBSD 10.2
FreeBSD 10.3
FreeBSD 11.0
FreeBSD 8.0
FreeBSD 8.1
FreeBSD 8.2
FreeBSD 8.3
FreeBSD 8.4
FreeBSD 9.0
FreeBSD 9.1
FreeBSD 9.1
FreeBSD 9.2
FreeBSD 9.3
GenericBSD any
GenericLinux any
GenericUNIX any
opensuse 12.1
opensuse 12.2
opensuse 12.3
opensuse 13.1
opensuse 13.2
SLES 10SP3
SLES 10SP4
SLES 11
SLES 11SP1
SLES 11SP2
SLES 11SP3
SLES 11SP4
SLES 12
SLES 12SP1
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Dependencies
Role
Last 10 Imports
Completed Status
2017-04-02 15:04:03 PM UTC SUCCESS
2017-01-22 03:45:03 AM UTC SUCCESS
2016-11-02 20:22:08 PM UTC SUCCESS
2016-09-25 22:26:10 PM UTC SUCCESS
2016-09-15 03:49:03 AM UTC SUCCESS
2016-09-15 03:42:03 AM UTC SUCCESS
2016-03-09 04:34:04 AM UTC SUCCESS
2016-03-06 22:05:10 PM UTC SUCCESS
2016-03-06 22:02:10 PM UTC SUCCESS
2016-03-06 21:52:09 PM UTC SUCCESS

Ansible Role: PHP PEAR packages

Build Status

Installs PHP PEAR packages on servers with PHP and php-pear already installed.

Requirements

PHP and php-pear (or the equivalent) must already be installed on the server, so the pear command can be run.

Role Variables

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

php_pear_channels:
  - pear.phpunit.de
  - pear.symfony.com

The PEAR channels that should be discovered so pear libraries can be installed. By default, PEAR is not configured to autodiscover channels for libraries you would like installed, so you need to explicitly list all the libraries' channels here.

php_pear_libraries:
  - phpunit/PHPUnit
  - PHP_CodeSniffer

The libraries/extensions you would like installed via PEAR.

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  vars_files:
    - vars/main.yml
  roles:
    - { role: geerlingguy.php-pear }

Inside vars/main.yml:

php_pear_channels:
  - pear.phpunit.de
php_pear_libraries:
  - phpunit/PHPUnit

TODO

  • Continue refining the changed/failed conditions for PEAR. Yuck.

License

MIT / BSD

Author Information

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

None