From b7559d59ce186783a98c0237da34a656a29e6b62 Mon Sep 17 00:00:00 2001 From: Romain Dessort Date: Tue, 28 Mar 2017 09:08:12 -0400 Subject: [PATCH] Fix wrong path for PostgreSQL config dir --- postgresql/tasks/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgresql/tasks/config.yml b/postgresql/tasks/config.yml index 8bb3b9e4..0ed0a324 100644 --- a/postgresql/tasks/config.yml +++ b/postgresql/tasks/config.yml @@ -1,13 +1,13 @@ --- - name: Allow conf.d/*.conf files to be included in PostgreSQL configuration lineinfile: - name: /etc/postgresql/9.4/main/postgresql.conf + name: "/etc/postgresql/{{postgresql_version}}/main/postgresql.conf" line: include_dir = 'conf.d' notify: restart postgresql - name: Create conf.d directory file: - name: /etc/postgresql/9.4/main/conf.d/ + name: "/etc/postgresql/{{postgresql_version}}/main/conf.d/" state: directory owner: postgres group: postgres @@ -16,7 +16,7 @@ - name: Copy PostgreSQL config file template: src: postgresql.conf - dest: /etc/postgresql/9.4/main/conf.d/evolinux.conf + dest: "/etc/postgresql/{{postgresql_version}}/main/conf.d/evolinux.conf" owner: postgres group: postgres mode: "0644"