Kinda need the db user created before it can make db's

This commit is contained in:
Kevin Fenzi 2013-09-12 23:03:14 +00:00
parent 3dae75234b
commit d7ffa40a2d

View file

@ -2,15 +2,6 @@
#
# These tasks only run on koji db servers from the postgresql playbook
#
#
# create a koji database if not already created
#
- name: databases creation
postgresql_db: name=koji owner=koji encoding=UTF-8
tags:
- db
only_if: '$is_kojidb'
#
# create a koji db user to own the db with the kojidatabasepassword from private
#
@ -19,7 +10,14 @@
tags:
- db
only_if: '$is_kojidb'
#
# create a koji database if not already created
#
- name: databases creation
postgresql_db: name=koji owner=koji encoding=UTF-8
tags:
- db
only_if: '$is_kojidb'
#
# Load the initial schema and create a file to note that it's loaded now.
#