try to execute this as postgres user

This commit is contained in:
Miroslav Suchý 2015-04-03 13:36:21 +00:00
parent 6529c7c370
commit 07dd697263

View file

@ -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