]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
postgresql 9.3 is what is available on trusty
authorAndrew Schoen <aschoen@redhat.com>
Thu, 23 Jun 2016 15:29:34 +0000 (10:29 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 23 Jun 2016 20:18:28 +0000 (15:18 -0500)
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 <aschoen@redhat.com>
chacra-pull-requests/setup/playbooks/tasks/postgresql.yml

index 4e1f3d6af48f155f515a0e2900874fc74fa2e1b7..56b09f9d950508b2bd06dba1e34570d564cfe3c4 100644 (file)
@@ -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