add bullseye compatibility
This commit is contained in:
parent
60a93e9fdd
commit
d10678a27e
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
pg_version: "{% if ansible_distribution_release == 'stretch' %}9.6{% endif %}{% if ansible_distribution_release == 'buster' %}11{% endif %}"
|
||||
pg_version: "{% if ansible_distribution_release == 'stretch' %}9.6{% endif %}{% if ansible_distribution_release == 'buster' %}11{% endif %}{%if ansible_distribution_release == 'bullseye' %}13{% endif %}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue