Try to get the creates= line right.

This commit is contained in:
Ralph Bean 2015-06-16 14:17:43 +00:00
parent ab173c649a
commit 8e1b99e638

View file

@ -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