From cb4d9be574c9f0dadccefd99c19297246a4284e1 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Wed, 8 May 2024 19:32:08 -0700 Subject: [PATCH] chacra-pull-requests: set postgres version for jammy next time: can't we just use a generic "install postgresql" Signed-off-by: Dan Mick --- .../setup/playbooks/tasks/postgresql.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml b/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml index cdbe60de..1da70138 100644 --- a/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml +++ b/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml @@ -4,6 +4,9 @@ update_cache: yes become: yes +# I don't see why this is important; why can't we +# just install the latest version + - name: set postgresql version on trusty set_fact: postgresql_version: "9.3" @@ -26,6 +29,12 @@ python_version: "3" when: ansible_distribution_release == "focal" +- name: set postgresql version on jammy + set_fact: + postgresql_version: "14" + python_version: "3" + when: ansible_distribution_release == "jammy" + - name: install postgresql requirements become: yes apt: -- 2.47.3