mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 04:22:18 +08:00
Kinda need the db user created before it can make db's
This commit is contained in:
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user