Run initdb the first time to create the initial db
This commit is contained in:
parent
60ea109aa4
commit
880cdac5ec
1 changed files with 14 additions and 7 deletions
|
@ -11,10 +11,17 @@
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
- name: Set postgresql-server to run on boot
|
- name: initialize postgresql
|
||||||
service: name=postgresql enabled=yes
|
command: service postgresql initdb
|
||||||
ignore_errors: true
|
creates=/var/lib/pgsql/data/postgresql.conf
|
||||||
notify:
|
ignore_errors: true
|
||||||
- restart postgresql
|
tags:
|
||||||
tags:
|
- service
|
||||||
- service
|
|
||||||
|
- name: Set postgresql-server to run on boot
|
||||||
|
service: name=postgresql enabled=yes
|
||||||
|
ignore_errors: true
|
||||||
|
notify:
|
||||||
|
- restart postgresql
|
||||||
|
tags:
|
||||||
|
- service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue