Try to get the creates= line right.
This commit is contained in:
parent
ab173c649a
commit
8e1b99e638
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue