add bullseye compatibility

This commit is contained in:
Morre 2021-10-15 17:58:40 +02:00
parent 60a93e9fdd
commit d10678a27e
No known key found for this signature in database
GPG key ID: F36FB77CA7C2E7B2
2 changed files with 7 additions and 2 deletions

View file

@ -2,9 +2,14 @@
apt:
pkg:
- postgresql
- python-psycopg2
- python3-psycopg2
- name: install python2 psycopg2
apt:
pkg:
- python-psycopg2
when: ansible_distribution_release == 'stretch'
- name: generate pg_hba
template:
src: pg_hba.conf.j2