geerlingguy.php-pgsql
Ansible Role: PHP-PostgreSQL
This installs support for PHP and PostgreSQL on Linux.
Requirements
No special requirements.
Role Variables
Here are the variables you can use, along with their default values (look in defaults/main.yml
):
php_enablerepo: ""
(Only for RedHat/CentOS) If you have additional software repositories enabled (like
geerlingguy.repo-epel
orgeerlingguy.repo-remi
), you can list them here (e.g.remi,epel
). This lets you install newer versions of PHP packages.php_pgsql_package: php-pgsql
(for RedHat)php_pgsql_package: php8.1-pgsql
(for Debian)This is the PHP PostgreSQL package to install using apt or yum. Change this only if you need a specific package for PostgreSQL support.
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, who is the author of Ansible for DevOps.
Installa
ansible-galaxy install geerlingguy.php-pgsql
Licenza
mit
Download
16.3k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns