From 8e1b99e63825c88eba5a727185c827ca2a4fc967 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 16 Jun 2015 14:17:43 +0000 Subject: [PATCH] Try to get the creates= line right. --- roles/taiga/tasks/main.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/roles/taiga/tasks/main.yml b/roles/taiga/tasks/main.yml index 909a13f325..5edde62cc3 100644 --- a/roles/taiga/tasks/main.yml +++ b/roles/taiga/tasks/main.yml @@ -22,7 +22,7 @@ ### FIRST, there is a lot of postgres db stuff to setup ### - name: Initialize postgres if necessary command: /usr/bin/postgresql-setup initdb - creates=/var/lib/pgsql/data + creates=/var/lib/pgsql/data/base notify: restart postgresql tags: taiga @@ -34,12 +34,6 @@ notify: restart postgresql tags: taiga -- name: Initialize postgres if necessary - command: /usr/bin/postgresql-setup initdb - creates=/var/lib/pgsql/data - notify: restart postgresql - tags: taiga - # No need to let postgres talk to the world, right? #- name: Let postgresql listen to '*' # command: sed -i -e "s|#listen_addresses = 'localhost'|listen_addresses = '*'|" /var/lib/pgsql/data/postgresql.conf