Also, initialize postgres.
This commit is contained in:
parent
eb739b9555
commit
ab173c649a
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue