start pg before we create db

This commit is contained in:
Miroslav Suchý 2015-04-03 13:23:30 +00:00
parent a4839bd417
commit 4d303d0875
2 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,6 @@
service: state=running enabled=yes name={{ item }}
with_items:
- httpd
- postgresql
- name: set acl for logstash to access httpd logs
acl: name=/var/log/httpd entity=logstash etype=user permissions=rx state=present

View file

@ -45,4 +45,6 @@
- name: Create db user
postgresql_user: db="coprdb" name="copr-fe" password="{{ copr_database_password }}" role_attr_flags=SUPERUSER,NOCREATEDB,NOCREATEROLE
- name: enable Pg service
service: state=running enabled=yes name=postgresql