/ansible-role-postgresql-client

Install PostgreSQL clients from the upstream distribution

Primary LanguageJinjaBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Postgresql Client

Actions Status Ansible Role

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