Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-php-pgsql
Ansible Role - PHP support for PostgreSQL.
https://github.com/geerlingguy/ansible-role-php-pgsql
ansible database extension pgsql php php-pgsql postgres postgresql role
Last synced: 28 days ago
JSON representation
Ansible Role - PHP support for PostgreSQL.
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-php-pgsql
- Owner: geerlingguy
- License: mit
- Created: 2016-09-30T23:44:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-16T19:23:03.000Z (4 months ago)
- Last Synced: 2024-09-28T18:22:31.994Z (about 1 month ago)
- Topics: ansible, database, extension, pgsql, php, php-pgsql, postgres, postgresql, role
- Homepage: https://galaxy.ansible.com/geerlingguy/php-pgsql/
- Size: 32.2 KB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: PHP-PostgreSQL
[![CI](https://github.com/geerlingguy/ansible-role-php-pgsql/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-php-pgsql/actions?query=workflow%3ACI)
Installs PHP [PostgreSQL](https://www.postgresql.org/) 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: php8.1-pgsql # DebianThe 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](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).