]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
chacra-pull-requests: set postgres version for jammy 2234/head
authorDan Mick <dmick@redhat.com>
Thu, 9 May 2024 02:32:08 +0000 (19:32 -0700)
committerDan Mick <dmick@redhat.com>
Thu, 9 May 2024 02:32:57 +0000 (19:32 -0700)
next time: can't we just use a generic "install postgresql"

Signed-off-by: Dan Mick <dmick@redhat.com>
chacra-pull-requests/setup/playbooks/tasks/postgresql.yml

index cdbe60de300c48e2b8334d607ab2ba21156b58b9..1da701387af0e298254f5f45ba3090d0ac5ada5c 100644 (file)
@@ -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"
       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: