]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
chacra-pull-requests: Define postgresql_version on >= xenial 1903/head
authorDavid Galloway <dgallowa@redhat.com>
Wed, 8 Sep 2021 19:26:59 +0000 (15:26 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Wed, 8 Sep 2021 19:57:15 +0000 (15:57 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
chacra-pull-requests/setup/playbooks/tasks/postgresql.yml

index 9e43052ae999f0a3e02f17b89ad1c781944daab4..aa44d2c542e7446c69610889032e34bb383f197e 100644 (file)
       postgresql_version: "9.5"
   when: ansible_distribution_release == "xenial"
 
+- name: set postgresql version on bionic
+  set_fact:
+      postgresql_version: "10"
+  when: ansible_distribution_release == "bionic"
+
+- name: set postgresql version on focal
+  set_fact:
+      postgresql_version: "12"
+  when: ansible_distribution_release == "focal"
+
 - name: install postgresql requirements
   become: yes
   apt: