Initialize the postgresql DB for pagure if necessary

This commit is contained in:
Pierre-Yves Chibon 2015-05-12 18:16:39 +02:00
parent 03a487460c
commit 0445c5e6e4

View file

@ -12,6 +12,14 @@
- pagure
- packages
- name: Initialize postgres if necessary
command: /usr/bin/postgresql-setup initdb
creates=/var/lib/pgsql/data
notify:
- restart postgresql
tags:
- pagure
# Set-up gitolite