pagure: create the db and its user as the postgres user
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
ab31a8b0bd
commit
f08c16184b
1 changed files with 4 additions and 0 deletions
|
@ -65,6 +65,8 @@
|
|||
- pagure
|
||||
|
||||
- name: create the pagure DB user
|
||||
become_user: postgres
|
||||
become: true
|
||||
postgresql_user:
|
||||
name: "{{ pagure_db_user }}"
|
||||
password: "{{ pagure_db_pass }}"
|
||||
|
@ -73,6 +75,8 @@
|
|||
- postgresql
|
||||
|
||||
- name: create the pagure database creation
|
||||
become_user: postgres
|
||||
become: true
|
||||
postgresql_db:
|
||||
name: "{{ pagure_db_name }}"
|
||||
owner: "{{ pagure_db_user) }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue