Make sure koji role is set up before syncing db
This commit is contained in:
parent
a2899a7817
commit
1aa06f2fa9
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- template: src=templates/koji-reset-staging.sql dest=/var/lib/pgsql/koji-reset-staging.sql
|
- template: src=templates/koji-reset-staging.sql dest=/var/lib/pgsql/koji-reset-staging.sql
|
||||||
|
|
||||||
|
- postgresql_user: name=koji password={{ kojiPassword }}
|
||||||
- postgresql_db: name=koji state=absent
|
- postgresql_db: name=koji state=absent
|
||||||
- postgresql_db: name=koji owner=koji
|
- postgresql_db: name=koji owner=koji
|
||||||
# buildroot_listing is excluded from the sync to save some time
|
# buildroot_listing is excluded from the sync to save some time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue