Add Debian 12 Patroni config
This commit is contained in:
parent
7fc57a69b2
commit
7c8b6919fe
|
@ -8,7 +8,7 @@
|
||||||
- patroni
|
- patroni
|
||||||
- postgresql-11
|
- postgresql-11
|
||||||
postgresql_version: 11
|
postgresql_version: 11
|
||||||
when: debian_version|int <= 10
|
when: debian_version|int == 10
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
package_list:
|
package_list:
|
||||||
|
@ -17,7 +17,16 @@
|
||||||
- patroni
|
- patroni
|
||||||
- postgresql
|
- postgresql
|
||||||
postgresql_version: 13
|
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
|
- name: install patroni packages via apt
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in New Issue