check for PG_VERSION as the data dir exists already
This commit is contained in:
parent
a084964c5e
commit
aab2c5f044
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
- name: Initialize postgres if necessary
|
||||
command: /usr/pgsql-9.4/bin/postgresql94-setup initdb
|
||||
creates=/var/lib/pgsql/9.4-bdr/data
|
||||
creates=/var/lib/pgsql/9.4-bdr/data/PG_VERSION
|
||||
notify:
|
||||
- restart postgresql94
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue