add bookworm support

This commit is contained in:
nd 2023-06-17 22:35:44 +02:00
parent feee78918c
commit 23795e06ac
No known key found for this signature in database
GPG key ID: 089EAC11F59D1863
2 changed files with 7 additions and 1 deletions

View file

@ -5,3 +5,9 @@ postgresql:
allowed_hosts: {} allowed_hosts: {}
dbs: {} dbs: {}
users: {} users: {}
distro_pg_version_mapping:
stretch: "9.6"
buster: "11"
bullseye: "13"
bookworm: "15"

View file

@ -1 +1 @@
pg_version: "{% if ansible_distribution_release == 'stretch' %}9.6{% endif %}{% if ansible_distribution_release == 'buster' %}11{% endif %}{%if ansible_distribution_release == 'bullseye' %}13{% endif %}" pg_version: "{{ distro_pg_version_mapping[ansible_distribution_release] }}"