Also, initialize postgres.

This commit is contained in:
Ralph Bean 2015-06-16 14:13:37 +00:00
parent eb739b9555
commit ab173c649a

View file

@ -34,6 +34,12 @@
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