Kinda need the db user created before it can make db's
This commit is contained in:
parent
3dae75234b
commit
d7ffa40a2d
1 changed files with 8 additions and 10 deletions
|
@ -2,15 +2,6 @@
|
||||||
#
|
#
|
||||||
# These tasks only run on koji db servers from the postgresql playbook
|
# 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
|
# create a koji db user to own the db with the kojidatabasepassword from private
|
||||||
#
|
#
|
||||||
|
@ -19,7 +10,14 @@
|
||||||
tags:
|
tags:
|
||||||
- db
|
- db
|
||||||
only_if: '$is_kojidb'
|
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.
|
# Load the initial schema and create a file to note that it's loaded now.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue