Role Detail

geerlingguy.php-pgsql

PHP PostgreSQL support for Linux.
Downloads
1769
Type Ansible
Minimum Ansible Version 1.8
Installation $ ansible-galaxy install geerlingguy.php-pgsql
Tags
database
pgsql
php
postgres
web
Last Commit 2017-04-02 14:51:02 PM UTC
Last Imported 2017-04-02 15:09:03 PM UTC
Version History
Version Release Date
1.0.0 2016-09-30 23:56:11 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
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:09:03 PM UTC SUCCESS
2017-01-22 03:48:03 AM UTC SUCCESS
2016-11-23 16:10:04 PM UTC SUCCESS
2016-11-02 20:22:08 PM UTC SUCCESS
2016-09-30 23:58:11 PM UTC SUCCESS
2016-09-30 23:58:11 PM UTC SUCCESS

Ansible Role: PHP-PostgreSQL

Build Status

Installs PHP PostgreSQL support on Linux.

Requirements

None.

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 allow you to install later versions of PHP packages.

php_pgsql_package: php-pgsql # RedHat
php_pgsql_package: php7.0-pgsql # Debian

The PHP PostgreSQL package to install via apt/yum. This should only be overridden if you need to install a unique/special package for PostgreSQL support, as in the case of using software collections on Enterprise Linux.

Dependencies

  • geerlingguy.php

Example Playbook

- hosts: webservers
  roles:
    - geerlingguy.postgresql
    - geerlingguy.php
    - geerlingguy.php-pgsql

License

MIT / BSD

Author Information

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

None