Run initdb the first time to create the initial db

This commit is contained in:
Kevin Fenzi 2013-06-26 20:13:35 +00:00
parent 60ea109aa4
commit 880cdac5ec

View file

@ -11,7 +11,14 @@
tags: tags:
- packages - packages
- name: Set postgresql-server to run on boot - name: initialize postgresql
command: service postgresql initdb
creates=/var/lib/pgsql/data/postgresql.conf
ignore_errors: true
tags:
- service
- name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes service: name=postgresql enabled=yes
ignore_errors: true ignore_errors: true
notify: notify: