cloudera-labs / cloudera.cluster

An Ansible collection for lifecycle and management of Cloudera CDP Private Cloud resources on bare metal, IaaS, and PaaS.
Apache License 2.0
32 stars 46 forks source link

Add missing psycopg2 dependency #111

Closed anisf closed 1 year ago

anisf commented 1 year ago

The following scenario fails : We skip database installation via --skip-tags database, but we still want the databases & users to be created it raises an error saying that psycopg2 is missing (see error message)

This is because psycopg2 package is installed in the geerlingguy.postgresql role

We should ensure that psycopg2 is available prior using ansible modules that depends on it