postgresql_server: there is no python2-psycopg on RHEL8, so use python3

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-04-21 15:35:35 +02:00
parent ea49504b53
commit 56cf212d1f

View file

@ -37,7 +37,7 @@
- postgresql-server
- postgresql-contrib
- postgresql-plpython
- python-psycopg2
- python3-psycopg
- pxz
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined
tags: