From: Andrew Schoen Date: Thu, 23 Jun 2016 15:29:34 +0000 (-0500) Subject: postgresql 9.3 is what is available on trusty X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=624656a066909e6bf88b0fffe6b72011cc0b4e26;p=ceph-build.git postgresql 9.3 is what is available on trusty I really wish there was a way to not hardcode that postgres version, but I haven't found a good solution yet. Signed-off-by: Andrew Schoen --- diff --git a/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml b/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml index 4e1f3d6a..56b09f9d 100644 --- a/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml +++ b/chacra-pull-requests/setup/playbooks/tasks/postgresql.yml @@ -27,7 +27,8 @@ sudo: yes lineinfile: # TODO: should not hardcode that version - dest: /etc/postgresql/9.5/main/pg_hba.conf + # 9.3 is available on trusty, 9.5 on Xenial + dest: /etc/postgresql/9.3/main/pg_hba.conf regexp: '^host\s+all\s+all\s+127.0.0.1/32' line: 'host all all 127.0.0.1/32 md5' backrefs: yes