Install python3-psycopg2 when Ubuntu >= 20.
This commit is contained in:
parent
c0158f0c5b
commit
1094339af2
|
@ -27,7 +27,7 @@ postgresql_pkgs:
|
||||||
- 'postgresql-contrib-{{ psql_version }}'
|
- 'postgresql-contrib-{{ psql_version }}'
|
||||||
- 'postgresql-client-{{ psql_version }}'
|
- 'postgresql-client-{{ psql_version }}'
|
||||||
- pgtop
|
- 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_scl_version: False
|
||||||
psql_el_install_from_pgdg_repo: True
|
psql_el_install_from_pgdg_repo: True
|
||||||
|
|
Loading…
Reference in New Issue