Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.04 KB

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

[email protected]