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,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