Skip to content

ome/ansible-role-postgresql-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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]