From 7c8b6919fe6f99a496c3bfaecb37ccf5592470be Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:30 -0400 Subject: [PATCH] Add Debian 12 Patroni config --- roles/pvc/tasks/patroni/main.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/roles/pvc/tasks/patroni/main.yml b/roles/pvc/tasks/patroni/main.yml index 95c5053..e739819 100644 --- a/roles/pvc/tasks/patroni/main.yml +++ b/roles/pvc/tasks/patroni/main.yml @@ -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: