From: Dan Mick Date: Thu, 9 May 2024 02:32:08 +0000 (-0700) Subject: chacra-pull-requests: set postgres version for jammy X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cb4d9be574c9f0dadccefd99c19297246a4284e1;p=ceph-build.git chacra-pull-requests: set postgres version for jammy next time: can't we just use a generic "install postgresql" Signed-off-by: Dan Mick --- 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: