try to execute this as postgres user
This commit is contained in:
parent
6529c7c370
commit
07dd697263
1 changed files with 2 additions and 2 deletions
|
@ -48,9 +48,9 @@
|
|||
- name: Create db
|
||||
postgresql_db: name="coprdb" encoding='UTF-8'
|
||||
sudo: yes
|
||||
user: postgres
|
||||
sudo_user: postgres
|
||||
|
||||
- name: Create db user
|
||||
postgresql_user: db="coprdb" name="copr-fe" password="{{ copr_database_password }}" role_attr_flags=SUPERUSER,NOCREATEDB,NOCREATEROLE
|
||||
sudo: yes
|
||||
user: postgres
|
||||
sudo_user: postgres
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue