diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
commit | 38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch) | |
tree | 356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/community/postgresql/plugins/doc_fragments | |
parent | Adding upstream version 7.7.0+dfsg. (diff) | |
download | ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip |
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/postgresql/plugins/doc_fragments')
-rw-r--r-- | ansible_collections/community/postgresql/plugins/doc_fragments/postgres.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ansible_collections/community/postgresql/plugins/doc_fragments/postgres.py b/ansible_collections/community/postgresql/plugins/doc_fragments/postgres.py index be74a4552..08b23988c 100644 --- a/ansible_collections/community/postgresql/plugins/doc_fragments/postgres.py +++ b/ansible_collections/community/postgresql/plugins/doc_fragments/postgres.py @@ -2,7 +2,8 @@ # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -from __future__ import (absolute_import, division, print_function) +from __future__ import absolute_import, division, print_function + __metaclass__ = type @@ -80,13 +81,12 @@ notes: - The default authentication assumes that you are either logging in as or sudo'ing to the C(postgres) account on the host. - To avoid "Peer authentication failed for user postgres" error, use postgres user as a I(become_user). -- This module uses C(psycopg2), a Python PostgreSQL database adapter. You must - ensure that C(psycopg2) is installed on the host before using this module. +- This module uses C(psycopg), a Python PostgreSQL database adapter. You must + ensure that C(psycopg2 >= 2.5.1) or C(psycopg3 >= 3.1.8) is installed on the host before using this module. - If the remote host is the PostgreSQL server (which is the default case), then PostgreSQL must also be installed on the remote host. -- For Ubuntu-based systems, install the C(postgresql), C(libpq-dev), and C(python-psycopg2) packages +- For Ubuntu-based systems, install the C(postgresql), C(libpq-dev), and C(python3-psycopg2) packages on the remote host before using this module. -- The ca_cert parameter requires at least Postgres version 8.4 and I(psycopg2) version 2.4.3. -requirements: [ psycopg2 ] +requirements: [ 'psycopg2 >= 2.5.1' ] ''' |