add contrib, remove stretch support

This commit is contained in:
nd 2023-03-03 23:39:11 +01:00
parent feee78918c
commit cd4df6fd3c

View file

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