Try moving this.

This commit is contained in:
Ralph Bean 2014-09-25 20:30:31 +00:00
parent 8651f11fd8
commit f7312493a8

View file

@ -13,6 +13,13 @@
- packages
- postgresql
- name: Initialize postgres if necessary
command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data
notify:
- restart postgresql
tags:
- postgresql
- name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes
ignore_errors: true
@ -56,10 +63,3 @@
tags:
- cron
- postgresql
- name: Initialize postgres if necessary
command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data
notify:
- restart postgresql
tags:
- postgresql