https://github.com/ome/ansible-role-postgresql-client
Install PostgreSQL clients from the upstream distribution
https://github.com/ome/ansible-role-postgresql-client
ansible client postgresql role
Last synced: 11 months ago
JSON representation
Install PostgreSQL clients from the upstream distribution
- Host: GitHub
- URL: https://github.com/ome/ansible-role-postgresql-client
- Owner: ome
- License: bsd-2-clause
- Created: 2020-03-04T12:29:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T10:36:19.000Z (about 2 years ago)
- Last Synced: 2025-06-05T06:55:47.885Z (about 1 year ago)
- Topics: ansible, client, postgresql, role
- Language: Jinja
- Homepage: https://galaxy.ansible.com/ome/postgresql_client
- Size: 57.6 KB
- Stars: 3
- Watchers: 7
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Postgresql Client
=================
[](https://github.com/ome/ansible-role-postgresql-client/actions)
[](https://galaxy.ansible.com/ui/standalone/roles/ome/postgresql_client/)
Install PostgreSQL clients from the upstream distribution.
If you wish to use your distributions packages do not use this role.
Role Variables
--------------
Required:
- `postgresql_version`: The PostgreSQL major version, e.g. `11`, `12`, `13`, `14`, `15`, `16`
Optional:
- `postgresql_package_version`: The PostgreSQL full version, ignored on Ubuntu, e.g. `12.11`
Example Playbook
----------------
# Simple example relying on the default Postgres PUBLIC privileges
# which allow access to all users
- hosts: localhost
roles:
- role: ome.postgresql_client
postgresql_version: "12"
Author Information
------------------
ome-devel@lists.openmicroscopy.org.uk