From 624656a066909e6bf88b0fffe6b72011cc0b4e26 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 23 Jun 2016 10:29:34 -0500 Subject: [PATCH] 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 --- chacra-pull-requests/setup/playbooks/tasks/postgresql.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5