Try moving this.
This commit is contained in:
parent
8651f11fd8
commit
f7312493a8
1 changed files with 7 additions and 7 deletions
|
@ -13,6 +13,13 @@
|
||||||
- packages
|
- packages
|
||||||
- postgresql
|
- 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
|
- name: Set postgresql-server to run on boot
|
||||||
service: name=postgresql enabled=yes
|
service: name=postgresql enabled=yes
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
@ -56,10 +63,3 @@
|
||||||
tags:
|
tags:
|
||||||
- cron
|
- cron
|
||||||
- postgresql
|
- postgresql
|
||||||
|
|
||||||
- name: Initialize postgres if necessary
|
|
||||||
command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data
|
|
||||||
notify:
|
|
||||||
- restart postgresql
|
|
||||||
tags:
|
|
||||||
- postgresql
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue