Add Debian 12 Patroni config

This commit is contained in:
Joshua Boniface 2023-09-01 15:42:30 -04:00
parent 7fc57a69b2
commit 7c8b6919fe
1 changed files with 11 additions and 2 deletions

View File

@ -8,7 +8,7 @@
- patroni
- postgresql-11
postgresql_version: 11
when: debian_version|int <= 10
when: debian_version|int == 10
- set_fact:
package_list:
@ -17,7 +17,16 @@
- patroni
- postgresql
postgresql_version: 13
when: debian_version|int >= 11
when: debian_version|int == 11
- set_fact:
package_list:
- python3-psycopg2
- python3-kazoo
- patroni
- postgresql
postgresql_version: 15
when: debian_version|int == 12
- name: install patroni packages via apt
apt: