Install python3-psycopg2 when Ubuntu >= 20.

This commit is contained in:
Andrea Dell'Amico 2023-10-11 11:28:03 +02:00
parent c0158f0c5b
commit 1094339af2
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ postgresql_pkgs:
- 'postgresql-contrib-{{ psql_version }}'
- 'postgresql-client-{{ psql_version }}'
- pgtop
- python-psycopg2
- '{% if ansible_distribution_version is version_compare('20.04', '>=') %}python3-psycopg2{% else %}python-psycopg2{% endif $}'
psql_el_install_scl_version: False
psql_el_install_from_pgdg_repo: True