cloudera.exe.postgresql_client role – Client configuration for PostgreSQL database

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.postgresql_client.

Entry point main – Client configuration for PostgreSQL database

New in cloudera.exe 3.0.0

Synopsis

  • Install of the Postgres Connector JDBC Driver.

Parameters

Parameter

Comments

download_connector_to_controller

boolean

Flag to specify if the PostgreSQL connector should be downloaded via the Ansible controller host.

If True download will be performed on the Ansible controller and copied to each host.

If False download will be performed on each host.

Choices:

  • false

  • true ← (default)

install_py3_psycopg2

boolean

Flag to specify if the psycopg2 Python package should be installed

Choices:

  • false ← (default)

  • true

postgresql_connector_checksum

string

Checksum of downloaded PostgreSQL connector jar

Default: "md5:bb897217989c97a463d8f571069d158a"

postgresql_connector_install_dir

string

Directory to install PostgreSQL connector

Default: "/usr/share/java"

postgresql_connector_url

string

URL for PostgreSQL connector

Default: "https://jdbc.postgresql.org/download/postgresql-42.7.2.jar"

Authors

  • Jim Enright